English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

1 answers

A char is a numerical representation of a "character"... and then, it can also be a number.

A char datatype has a numerical range of -254 to 255 (eight bits.) Because the ASCII representation of a single-byte character is 0 - 255, we need a single-byte datatype to efficiently represent character data. However, that doesn't mean that a char _has to_ be a (ascii) character.

2007-02-13 13:25:27 · answer #1 · answered by BigRez 6 · 0 0

fedest.com, questions and answers