/* program to understand the sizeof operator*/
main()
{
age;
printf(“size of int = %u\n”, sizeof(int));
printf(“size of float = %u\n”, sizeof(float));
printf(“size of integer constant = %u\n”, sizeof(10));
printf(“size of age = %u\n”, sizeof(age));
return 0;
}
|