Skip to the task
Layout
Back to classic view

You are looking at: Practice test 2. Your place is still lesson 10, task 1: struct.

CHECKTask 8 of 17 · step 3: Questions 7–12

A copy of a struct

Point a = {1, 2}; Point b = a; b.x = 5; What does printf("%d %d\n", a.x, b.x); print?

Stuck?

1 5: b is a separate copy. (Topic 10)