Skip to the task
Layout
Back to classic view

You are looking at lesson 8. Your place is still lesson 3, task 1: Conditions.

CHECKTask 16 of 25 · step 8: Drills: check yourself

What does *p += 3 print?

What does this code print?

int x = 4;
int *p = &x;
*p += 3;
printf("%d\n", x);
Stuck?

7: *p is x, so *p += 3 increases x.