Advertisement
Guest User

Untitled

a guest
Sep 20th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. struct abc
  4. {
  5. char a[10];
  6. int b;
  7. float f;
  8. double d;
  9. char c;
  10. };
  11.  
  12. main()
  13. {
  14. printf("size : %d", sizeof(struct abc));
  15. printf("size of double : %d", sizeof(double));
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement