Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- printf ("char size = %d byte \n", sizeof(char));
- printf ("short size = %d byte \n", sizeof(short));
- printf ("int size = %d byte \n", sizeof(int));
- printf ("long size = %d byte \n", sizeof(long));
- printf ("float size = %d byte \n", sizeof(float));
- printf ("double size = %d byte \n", sizeof(double));
- printf ("1.55 size = %d byte \n", sizeof(1.55));
- printf ("HELLO size = %d byte \n", sizeof("HELLO"));
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement