#include <stdio.h>
int main()
{
printf("char : %d octets\n", sizeof(char));
printf("int : %d octets\n", sizeof(int));
printf("long : %d octets\n", sizeof(long));
printf("double : %d octets\n", sizeof(double));
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: