#include<stdio.h>
int main()
{
int i;
float j;
double k;
char a;
printf("Size of integer : %d bytes\n", sizeof(i));
printf("Size of float : %d bytes\n", sizeof(j));
printf("Size of double : %d bytes\n", sizeof(k));
printf("Size of char : %d byte\n", sizeof(a));
return 0;
}
int main()
{
int i;
float j;
double k;
char a;
printf("Size of integer : %d bytes\n", sizeof(i));
printf("Size of float : %d bytes\n", sizeof(j));
printf("Size of double : %d bytes\n", sizeof(k));
printf("Size of char : %d byte\n", sizeof(a));
return 0;
}
Comments
Post a Comment