Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 2 (Q.No. 37)
37.
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?
All
1 and 2 only
1 and 3 only
2 and 3 only
Answer: Option
Explanation:

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

Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.