Homework 1 (Karina) Version 0 |
|
👤 Author: by karabalinakarinaicloudcom 2017-12-25 06:48:33 |
1)For the computer using binary is very convenient. In the reality there are so many things which use only two different ways to represent information . For example, switch, which turns ON and OFF the light. So the computer use only two states 0 and 1 for low and high voltage respectively , to simplify and represent information more easier .
2) String has ‘\0’ at the end of the characters but the integer does not have it.