https://docs.vultr.com/clang/examples/find-ascii-value-of-a-character
How to Get the ASCII Value of a Character in C
In C programming, each character has a unique ASCII (American Standard Code for Information Interchange) value. You can easily get the ASCII value of a character by printing it as an integer.
C Program to Get the ASCII Value of a Character
c
Copy
Edit
#include
int main() {
char ch;
// Input a character from user