Q86
What will be the output of the following C++ code? #include using namespace std; int main() int a = 5, c; void *p = &a; double b = 3.14; p = &b; c = a + b; cout << c << ' ' << p; return 0;
A.
8, memory address
AnswerB.
8.14
C.
memory address
D.
12
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board