binary is:111111165438" />
Master ()
{
long a = 0xffff
int b = a;
printf("%d ",b);
}
The output result is-1 because:
A is a long integer of 4 bytes.
0xffff hexadecimal-> binary is:111111165438.
b = a; B is 0xffff hexadecimal-> binary is:111111165438.
1 1 1 1 1 1 1 1 1 1 1 1 165438.