#include<stdio.h>
int main()
{
printf("%x", -1<<1);
getchar();
return 0;
}
I want a exlantion for this questions output
fffffffe
the output is the hexadecimal representation of
-2
#include<stdio.h>
int main()
{
printf("%x", -1<<1);
getchar();
return 0;
}
fffffffe
the output is the hexadecimal representation of
-2