chars
Chars, short for characters, are elemental units of text used in computer processing. A char represents a single symbol from a character set, such as a letter, digit, or punctuation, and is often the basic building block of strings. The precise representation of a char depends on the programming language and the encoding in use; some treat a char as a simple code point, others as a small container for a byte or code unit.
In C and C++, a char is typically one byte wide and can hold an 8-bit value
In Python, there is no distinct char type; strings are sequences of Unicode code points. Accessing an
When stored or transmitted, chars are encoded into a byte sequence according to an encoding such as