Computer Science, asked by deepakdas72q, 6 months ago

What are the Types of Arrays.? *
1.int, long, float, double
2.struct, enum
3.char
4.All the above

Answers

Answered by Tauqueer0408
0

Answer:

The correct answer is Option C

Answered by priyarksynergy
1

Arrays can have all the given data types.

Explanation:

  • An array is an inbuilt structured data type.
  • It consists of a finite number of elements and these elements have the same data types.  
  • The data type and the number of elements the array should contain is defined while declaring the array variable.
  • For example, int a[5] will create an array of five elements each of integer type.
  • An array can have any data type from int, char, float, long, double, enum and struct.
  • The answer for the given question is (4) All of the above.
Similar questions