Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions
Interview Questions and Answers :: Broadcom Ltd

34. What will be the output of this code fragment. What would be the output if it's union?

struct xx {
char a;
int b;
};
printf("%d", sizeof(struct xx));

Answer:

8 in case of union it will be 4 

Post Your Answer Here:      Public      Private

Rate This: +0 -0
Report     

Post Your Reply Here:     

Report Error

Report Error

Please Login First Click Here