C++ Programming - References - Discussion

Discussion Forum : References - General Questions (Q.No. 9)
9.
Which of the following statements is correct?
  1. An array of references is acceptable.
  2. We can also create a reference to a reference.
Only 1 is correct.
Only 2 is correct.
Both 1 and 2 are correct.
Both 1 and 2 are incorrect.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
13 comments Page 2 of 2.

Abhijeet said:   6 years ago
The reference to a reference i.e.
int &(&ref2)=ref;
So, not acceptable.

Sonu patel said:   1 decade ago
Can anyone how array of pointers and pointer to pointer is not possible?

Swapnil said:   8 years ago
Reference to another reference can be created.


Post your comments here:

Your comments will be displayed after verification.