
What is the output of the following code?
int *p;
Int x;
x = 12;
p = &x;
cout << x << ",";
*p = 81;
Cout << *p << endl;
A) 12, 12
B) 12, 81
C) 81, 12
D) 81, 81
Correct Answer:
Verified
Q2: What is the output of the following
Q3: The dereferencing operator is also known as
Q3: If p is a pointer variable, the
Q4: In C++, pointer variables are declared using
Q9: Which of the following can be used
Q10: In C++, you declare a pointer variable
Q14: In the statement
int* p, q;
p and q
Q16: Variables that are created during program execution
Q17: A pointer variable is a variable whose
Q20: In C++, the dot operator has a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents