Character v.s. Number
On an ASCII system the code
char c, d;
c = '3';
d = 3;
assigns c the value decimal 51 and d the value decimal 3.
Previous slide
Next slide
Back to first slide
View graphic version