Vidyalelo
C Programming · Q29

Structure and Union

Programming · C Programming · question 29

Q29

What is the purpose of the offsetof macro in C?

A.
To calculate the offset of a structure member
Answer
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

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board