Home / C Programming / Arrays :: Discussion

Discussion :: Arrays

  1. Which of the following statements mentioning the name of the array begins DOES NOT yield the base address?

    1: When array name is used with the sizeof operator.
    2: When array name is operand of the & operator.
    3: When array name is passed to scanf() function.
    4: When array name is passed to printf() function.

  2. A.
    A
    B.
    A, B
    C.
    B
    D.
    B, D

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The statement 1 and 2 does not yield the base address of the array. While the scanf() and printf() yields the base address of the array.


Be The First To Comment