#include <stdio.h>
int main(void)
{
if (sizeof(int) > -10)
printf("YES\n");
else
printf("NO\n");
return 0;
}
why it is printing NO instead of YES? Because the size of int is 4bytes as per the compiler.And it is greater than -10.