A

Admin • 833.24K Points
Coach

Q. What will be the output of the following C code on a 64 bit machine?

Code:
#include <stdio.h>
union Sti
{
int nu;
char m;
};
int main()
{
union Sti s;
printf("%d", sizeof(s));
return 0;
}
  • (A) 8
  • (B) 5
  • (C) 9
  • (D) 4
  • Correct Answer - Option(D)
  • Views: 28
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.