Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<conio.h>
- int main ()
- {
- int a;
- char b;
- float c;
- double d;
- printf("size of integer data type = %d byte\n", sizeof(a));
- printf("size of charactor data type = %d byte\n", sizeof(b));
- printf("size of floating data type = %d byte\n", sizeof(c));
- printf("size of double floating data type = %d byte\n", sizeof(d));
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement