#include<stdio.h>
#include<conio.h>
void main()
{
int i;
float j;
clrscr();
printf("\nSize of interger is %d", sizeof(i));
printf("\nSize of float is %d", sizeof(float));
printf("\nSize of charcter is %d", sizeof(char));
getch();
}
/*
Output:
Size of interger is 2
Size of float is 4
Size of charcter is 1
*/
No comments:
Post a Comment