CJCoding With Joseph

ASCII Value of a Character

A character ch = 'A' is given. Print its numeric ASCII value using %d:

65

Printing a char with %d shows its underlying integer code.

Expected Output:

65
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.