Skip to content
CSCosmos
C // COSMOS
memory workbench
Overview
Learn
Lab
Problems
Toggle theme
Arena
Pointers, Address & Dereference
← 18
20 →
DRILL 19
Medium
Write Through a Pointer
What is printed?
drill.c
C
Copy
int x = 7; int *p = &x; *p = 9; printf("%d\n", x);
Choose an answer
A
7
B
9
C
0
D
The address of x
Show hint