#include<stdio.h>
#include<conio.h>
typedef int shubham;
typedef float muskan;
void main()
{
shubham i;
muskan j;
clrscr();
printf("\nSize of interger is %d", sizeof(i));
printf("\nSize of float is %d", sizeof(j));
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