Home / ECE / Microprocessors :: Discussion

Discussion :: Microprocessors

  1. 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?

  2. A.
    All
    B.
    1 and 2 only
    C.
    1 and 3 only
    D.
    2 and 3 only

    View Answer

    Workspace

    Answer : Option B

    Explanation :

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


Be The First To Comment