CJCoding With Joseph
15free / daySign inCreate account

The variable score is already declared and set to 87, and the first line of output is already written for you. Declare a pointer named p that holds the address of score, then print the value again by going through the pointer. Do not print the address itself.

Expected output

Score: 87
Through pointer: 87

= newline. The output ends with a newline, so print one after the last line.

Hints2 available
Topics
Pointers
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (cout, fori)

Your output

Run your code to see the output here...

Test cases

Run your code to see test case results.