C++20 sections · 1024 units
Open in CourseQuiz: Nested Structs
Test your understanding
Check Your Understanding
Given struct Line { Point start; Point end; }; Line line;, how do you access the x of the end point?
- A.line.end.x
- B.line.x.end
- C.line[end].x
- D.end.line.x