Multiple Choice
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
Correct Answer:
Verified
Related Questions
Q3: Which of the following operations is allowed
Q3: Variables that are created during program execution
Q8: The C++ operator _ is used to
Q17: Consider the following statements:<br>void pointerParameters(int* &p,double *q)<br>{<br>.<br>.<br>.<br>}<br>In
Q20: What is the output of the following
Q21: What is the value of x after
Q22: A memory leak is an unused memory
Q24: Which of the following arithmetic operations is
Q25: An array created during the execution of
Q28: A list is a collection of elements