Microprocessors

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.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.