Microprocessors - Engineering

Q1:

Consider the following about 'arrays' in C
  1. An array is a collection of similar elements.
  2. An array can not have 10 numbers 5 of which are ints and 5 are floats.
  3. An array can have ints and chars in the same array.
Which of the above are correct?

A All

B 1 and 2 only

C 1 and 3 only

D 2 and 3 only

ANS:B - 1 and 2 only

An array can have all int or all floats or all chars.