#include<stdio.h>
double i;
int main()
{
(int)(float)(char) i;
printf("%d",sizeof(i));
return 0;
}
Its showing output as 8. Can anyone please explain me why it is showing as 8.? Does the Typecasting have any effect on the Variable i..so that the output can possibly be 4??