Vidyalelo
C++ Programming · Q10

Pointers and References in C++

Programming · C++ Programming · question 10

Q10

How do you declare a reference variable in C++?

A.
type &ref;
Answer
B.
ref type;
C.
type ref;
D.
&type ref;

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board