What will be the output of the following C++ code?
Code:
#include <iostream>
using namespace std;
int main()
{
int a = 5, c;
void *p = &a;
double b = 3.14;
p = &b;
c = a + b;
cout << c << '\n' << p;
return 0;
}
A. 8, memory address
B. 8.14
C. memory address
D. 12