CJCoding With Joseph
← Back to Question List

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

Topics:
C Quiz #46

Accessing Struct Members

mediumStructs

What does this code print?

📄 Code

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