CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics

Accessing Struct Members

C quiz · Question 46
mediumStructs

What does this code print?

Code

1struct Point { int x; int y; };
2struct Point p = {3, 7};
3printf("%d", p.x + p.y);