0030.  What happens when we add the add the ASCII characters ‘1’ and ‘7’ together? Why?

 

From the ASCII tables, we know:

 

‘1’  =    00110001

‘7’  =    00110111

 

Therefore:

 

     00110001

+   00110111

    ---------------

       1101000

 

Which corresponds to the character ‘h’ (01101000)

 

WHY???

 

Because the character ‘1’ is really the ASCII value 49, and the Character ‘7’ is really the ASCII value 55.

 

When we add 49 and 55 we get 104 which is the character ‘h’.