Vidyalelo
C++ Programming · Q81

Pointers and References in C++

Programming · C++ Programming · question 81

Q81

What will be the output of the following C++ code? #include using namespace std; int main() int *p; void *vp; if (vp == p) cout << "equal"; return 0;

A.
equal
Answer
B.
no output
C.
compile error
D.
runtime error

Answer: Option A

Solution

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