5. Assignment 5
#include <stdio.h>
int main()
{
printf("%d\n",-39>>3);
printf("%d\n",-11^-11);
printf("%d\n",-' '|'C');
printf("%d\n",-200 & -111);
printf("%d\n",'0'^ -80);
printf("%d\n",-10 << 4);
printf("%x\n",-511 >> 10);
printf("%d\n",0x20 ^ -03);
printf("%o\n",0xBCA << 0xB);
printf("%d\n",'d'^ -200);
printf("%x\n",-1000);
printf("%o\n",111 + 0x11);
}
Comments
Post a Comment