English

Identify the false statement. (a) The index of an array begins with 0. (b) An Array occupies contiguous memory locations. (c) An array is a collection of multiple variables of different data type

Advertisements
Advertisements

Question

Identify the false statement.

Options

  • The index of an array begins with 0.

  • An Array occupies contiguous memory locations.

  • An array is a collection of multiple variables of different data types.

  • The [] brackets in the declaration statement indicates the size of the array.

MCQ
Advertisements

Solution

An array is a collection of multiple variables of different data types.

Explanation:

An array stores multiple values of the same data type. Therefore, statement (c) is false because an array cannot contain elements of different data types.

shaalaa.com
  Is there an error in this question or solution?
Chapter 7: Arrays - One Dimension - Exercises [Page 173]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 7 Arrays - One Dimension
Exercises | Q 1. (ix) | Page 173
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×