2 votes 2 votes #include<stdio.h> struct X { int a; int b; int c; }; int main(void) { printf("%zu",sizeof(struct X)); } What is output of the program and why? Programming in C programming-in-c + – srestha asked Jul 8, 2017 srestha 343 views answer comment Share Follow See 1 comment See all 1 1 comment reply dd commented Jul 8, 2017 reply Follow Share @srestha this is a very nice article you must check 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes Read this. http://www.geeksforgeeks.org/structure-member-alignment-padding-and-data-packing/ neeraj33negi answered Jul 10, 2017 neeraj33negi comment Share Follow See all 0 reply Please log in or register to add a comment.