Vidyalelo
C++ Programming · Q66

Pointers and References in C++

Programming · C++ Programming · question 66

Q66

What will be the output of the following C++ code? #include #include #include using namespace std; int main(int argc, char const *argv[]) int &q = NULL; cout<<q; return 0;

A.
NULL
B.
0
C.
Address of NULL
D.
Error
Answer

Answer: Option D

Solution

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