CSC 3501 Chapter : Quiz1
Document Summary
Some numbers you may want to use: 25=32, 26=64, 27=128, 28=256: assuming that the number of bits is 8, find the unsinged integer for. In other words, what will be the output of the c code below? printf("%u\n", (unsigned char)0x82); Answer: __________: assuming that the number of bits is 8, find the two"s-complement integer for 0x81. In other words, what will be the output of the c code below? printf("%d\n", (char)0x81); Answer: __________: assuming that the number of bits is 32, find the bit pattern in hexadecimal for the minimum two"s-complement number. In other words, what will be the output of the c code below? printf("0x%x\n", int_min);