Machine-translated by Google. Questions are authored in English.
Top

Discussion

What are the Types of Arrays?

  • A.int, float, char, double 
  • B.struct, enum
  • C.long 
  • D.All the above

Answer: D

Correct answer: All the above

An array can have elements of any complete type: the built-in types int, float, char, double and long, and user-defined ones such as structures and enumerations. There is no restriction to primitives, so all the options qualify.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.