[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Interview Questions and Answers :: Tavant Technologies

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