#include<stdio.h>
int main()
{
printf("%d\n",sizeof(int));
printf("%d\n",sizeof(float));
printf("%d\n",sizeof(double));
printf("%d",sizeof(long double));
return 0;
}
4
4
8
12
int main()
{
printf("%d\n",sizeof(int));
printf("%d\n",sizeof(float));
printf("%d\n",sizeof(double));
printf("%d",sizeof(long double));
return 0;
}
EXPECTED OUTPUT: (Might depend on your operating system)
4
4
8
12
No comments:
Post a Comment