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
Answer: B
Computer Science & Information Technology
You might also like to view...
A mathematical formula in a cell can use both text and numbers
Indicate whether the statement is true or false
Computer Science & Information Technology
The normal data bits per data word is 8 bits per word on a serial device
Indicate whether the statement is true or false
Computer Science & Information Technology