โ Back to Printing
Question 282
ASCII Value of a Character
ASCII Value of a Character
Declare acharvariablecholding the letterA, then print its numeric ASCII code by casting it toint: 65 Casting achartointreveals its underlying code.
Expected Output:
65
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.