You are signed out
Join Innoget to connect with chetankumar kumar and thousands
of innovation-driven professionals and organizations
Other
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
printf("Enter a character: ");
scanf("%c", &ch);
// Display ASCII value
