πŸ“Š C Programming
Q. What is the size of an empty structure in C?
  • (A) 0 bytes
  • (B) 1 byte
  • (C) 2 bytes
  • (D) Compiler dependent
πŸ’¬ Discuss
βœ… Correct Answer: (D) Compiler dependent

Explanation: Size of an empty struct is compiler dependent, often 1 byte to ensure uniqueness of address.

Explanation by: Mr. Dubey
Size of an empty struct is compiler dependent, often 1 byte to ensure uniqueness of address.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
53
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate