Programming Language Union in C Language Question #2670
Single Choice Not Set

QWhat would be the size of the following union declaration?

    #include <stdio.h>
    union uTemp
    {
        double a;
        int b[10];
        char c;
    }u;
(Assuming size of double = 8, size of int = 4, size of char = 1)

ID: #2670 Union in C Language 3,012 views
Question Info
#2670Q ID
Not SetDifficulty
Union in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 4
  • B 8
  • C 40
  • D 80
Correct Answer

Explanation

40

Share This Question

Challenge a friend or share with your study group.