<aside> <img src="/icons/home_green.svg" alt="/icons/home_green.svg" width="40px" />
</aside>
https://jennychen9827sbu.github.io/CAD281/ascii.html
ASCII stands for American Standard Code for Information Interchange.
It is a character encoding standard that represents text characters (like letters, digits, and symbols) using integer values.
In C programming:
'A' is 65, 'a' is 97, '0' is 48, etc.#include <stdio.h>
int main() {
char ch = 'A';
printf("ASCII value of %c is %d\n", ch, ch);
return 0;
}
Output:
ASCII value of A is 65
#include <stdio.h>
int main() {
char lower = 'b';
char upper = lower - 32;
printf("Uppercase of %c is %c\n", lower, upper);
return 0;
}