πŸ“Š C Programming
Q. The size of the following union, where an int occupies 4 bytes of memory is
Code:
union demo
{
  float x;
  int y;
  char z[10];
};
  • (A) 4 byte
  • (B) 8 byte
  • (C) 10 byte
  • (D) 18 byte
πŸ’¬ Discuss
βœ… Correct Answer: (C) 10 byte

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
262
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
85%
Success Rate