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...

________ macros have been known to add, edit, or remove data from a database and often spread to other databases or even to the user's computer

Fill in the blank(s) with correct word

Computer Science & Information Technology

The four types of animation effects are ________

A) Entrance, Emphasis, Exit, and Motion Paths B) Appearance, Subtle, Exciting, and Dynamic Content C) Delayed, Instant, ZigZag, and Objects D) Fade, Wipe, Random, and Effect

Computer Science & Information Technology