1 votes 1 votes Please tell the output with explanation! #include<stdio.h> struct s { unsigned a:5; unsigned b:5; unsigned c:5; unsigned d:5; }v={1, 2}; main() { printf("size of v = %d",sizeof(v)); return 0; } Sanyam Lakhanpal asked Jul 18, 2017 Sanyam Lakhanpal 291 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Hemant Parihar commented Jul 18, 2017 reply Follow Share https://stackoverflow.com/questions/119123/why-isnt-sizeof-for-a-struct-equal-to-the-sum-of-sizeof-of-each-member You can read this, very good article. 0 votes 0 votes Sanyam Lakhanpal commented Jul 19, 2017 reply Follow Share thanks! 0 votes 0 votes Please log in or register to add a comment.