Skip to the task
Layout
Back to classic view

You are looking ahead. Your place is still task 1: Memory.

CHECKTask 16 of 25 · step 8: Drills: check yourselfWhat does *p += 3 print?
What does *p += 3 print? in practice/02/

What does this code print?

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

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

practice 02 CMakeLists.txt Code Diff
UNCHANGED This step does not change this file.
add_executable(p02_card main.c)
target_link_libraries(p02_card PRIVATE course_input)