#include<stdio.h>
#include<conio.h>
void main()
{
int integernum;
float floatnum;
char charname;
clrscr();
printf("Size of char : %lu byte\n", sizeof(charname));
printf("Size of int : %lu bytes\n", sizeof(integernum));
printf("Size of float : %lu bytes\n", sizeof(floatnum));
getch();
}
Output
Size of char : 1 byte
Size of int : 4 bytes
Size of float : 4 bytes

