Q83
What will be the output of the following C++ code? #include #include #include using namespace std; int main(int argc, char const *argv[]) int a = 5; int *p = &a; int &q = p; cout<<p; return 0;
A.
5
B.
Run-time error
C.
Segmentation fault
D.
Compile-time error
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board