
What is the output of the following code?
int *p;
int x;
x = 76;
p = &x;
*p = 43;
cout << x << "," << *p << endl;
A) 76, 76
B) 76, 43
C) 43, 76
D) 43, 43
Correct Answer:
Verified
Q3: 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