Skip to content
CSCosmos
C // COSMOS
memory workbench
Overview
Learn
Lab
Problems
Toggle theme
Arena
Pointer Arithmetic & Arrays
← 19
21 →
DRILL 20
Medium
Pointer Arithmetic
If int *p holds address 1000 and sizeof(int) is 4, what address does p + 1 hold?
Choose an answer
A
1001
B
1004
C
1000 + sizeof(int *)
D
Undefined
Show hint