Array

Pre-Test

  1. What is an Array in C language.?

  2. All the above.
    An array contains more than one element
    A group of elements of same data type.
    Array elements are stored in memory in continuous or contiguous locations.

  3. Choose a correct statement about C language arrays.

  4. An array address is the address of first element of array itself
    An array size must be declared if not initialized immediately
    Array size is the sum of sizes of all elements of the array.
    All the above

  5. What are the Types of Arrays.?

  6. int, long, float, double
    All the above
    struct, enum
    char

  7. An array Index starts with.?

  8. 0
    3
    2
    1

  9. An entire array is always passed by ___ to a called function.

  10. Call by value
    Call by reference
    Address restructure
    Address restructure