What is the purpose of the offsetof macro in C?
A. To calculate the offset of a structure member
B. To define the size of a structure
C. To access a specific structure member
D. To check if a structure is empty
Answer: Option A
Related Questions on Structure and Union
Which of the following can be a member of a structure?
A. Function
B. Another structure
C. Enumeration
D. All of the above

Join The Discussion