Structs & Unions Quiz

Complete this assessment with 100% score to master this chapter.

01Which operator is a shortcut for dereferencing a struct pointer and accessing a member (e.g., (*ptr).id)?

02What is 'Memory Padding' in a struct?

03What is the primary difference between a 'struct' and a 'union'?

04What does 'unsigned int flag : 1;' define inside a struct?

05What is the purpose of the 'typedef' keyword?