15.000 Suppose that I entered the command:

 

            unsigned char c = -712;

 

            and then entered the command:

 

            printf("The numberic value of c is %d representing the character %c\n",c,c);

 

     What would be produced, and why??

 

The output would be:

 

 

 

              71210 = 01011001000

 

            - 71210 = 10100110111 (one’s compliment)

                           +                    1

                             10100111000 (twos’s compliment)

 

However, if we take the right-most 8-bits:   00111000

We find that I evaluates to 56, which is ASCII Character ‘8’