#include <stdio.h>
int main() {
int a;
short int b;
long int c;
float d;
double e;
long double f;
char g;
printf ("size of int=%d bytes\n",sizeof (a));
printf ("size of short int =%d bytes \n",sizeof (b));
printf ("size of long int =%d bytes \n",sizeof (c));
printf ("size of float =%d bytes \n",sizeof (d));
printf ("size of double =%d bytes \n",sizeof (e));
printf ("size of long double =%d bytes \n",sizeof (f));
printf ("size of char =%d bytes \n",sizeof (g));
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: