2.3. Working With ASCII

This section discusses strings and characters. A string is a collection of characters with a sentinel character. Characters are represented by ASCII encoding which associates a numerical value for each character.

ASCII Characters

This table list the ASCII values. Letters, numbers, and special characters have a decimal value. For example, G is x47 while # is x23.

Escape Characters

newline \n horizontal tab \t backspace \b carriage return \r backslash
double quote "

Value to ASCII Conversion

numbers and uppercase to lowercase

Strings

To Be Continued.



© 2024 LC3Tutor

Privacy

results matching ""

    No results matching ""