Multiple choice

Which of the following statements is/are correct? A. We can create a reference to an array. B. A reference is implicitly treated as constant pointer.

  1. Only A

  2. Only B

  3. Both A and B

  4. Neither A nor B

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

We can always create a reference to an array and also reference is implicitly treated as constant pointer. Because reference to a particular variable cannot point to another variable.