Advertisement
Guest User

Untitled

a guest
Sep 26th, 2013
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(void){
  4. printf("INT\t%d\n", sizeof(int));
  5. printf("SHORT\t%d\n", sizeof(short int));
  6. printf("LONG\t%d\n", sizeof(long int));
  7. printf("FLOAT\t%d\n", sizeof(float));
  8. printf("DOUBLE\t%d\n", sizeof(double));
  9. printf("L DOUBLE\t%d\n", sizeof(long double));
  10. printf("CHAR\t%d\n", sizeof(char));
  11.  
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement