Given Program is -
# include<stdio.h>
# include <conio.h>
void main()
{
clrscr();
printf("Integer Size In Byte Form=%d\n",sizeof(int));
printf("Char Size In Byte Form=%d\n",sizeof(char));
printf("Float Size In Byte Form=%d\n",sizeof(float));
printf("Double Size In Byte Form=%d\n",sizeof(double));
printf("Long Double Size In Byte Form=%d\n",sizeof(long double));
printf("Long Int Size In Byte Form=%d\n",sizeof(long int));
printf("Short Int Size In Byte Form=%d\n",sizeof(short int));
printf("Unsigned Int Size In Byte Form=%d\n",sizeof(unsigned int));
printf("Unsigned Short Int Size In Byte Form=%d\n",sizeof(unsigned short int));
printf("Unsigned Long Int Size In Byte Form=%d\n",sizeof(unsigned long int));
printf("Signed Char Size In Byte Form=%d\n",sizeof(signed char));
printf("Unsigned Char Size In Byte Form=%d",sizeof(unsigned char));
}
# include
# include
{
clrscr();
printf("Integer Size In Byte Form=%d\n",sizeof(int));
printf("Char Size In Byte Form=%d\n",sizeof(char));
printf("Float Size In Byte Form=%d\n",sizeof(float));
printf("Double Size In Byte Form=%d\n",sizeof(double));
printf("Long Double Size In Byte Form=%d\n",sizeof(long double));
printf("Long Int Size In Byte Form=%d\n",sizeof(long int));
printf("Short Int Size In Byte Form=%d\n",sizeof(short int));
printf("Unsigned Int Size In Byte Form=%d\n",sizeof(unsigned int));
printf("Unsigned Short Int Size In Byte Form=%d\n",sizeof(unsigned short int));
printf("Unsigned Long Int Size In Byte Form=%d\n",sizeof(unsigned long int));
printf("Signed Char Size In Byte Form=%d\n",sizeof(signed char));
printf("Unsigned Char Size In Byte Form=%d",sizeof(unsigned char));
}
0 comments:
Post a Comment