C
Programming and Technical
Programming
Program
Assunming, integer is 2 byte, What will be the output of the program?
#include
int main()
{
printf("%xn", -2<<2);
return 0;
}
Options
1) ffff
2) 0
3) fff8
4) Error
Read Solution (Total 1)
-
- ffffffffff8n the value of -2 and 2 gets printed
- 9 years agoHelpfull: Yes(0) No(0)
C Other Question