Write a C++ program that will ask the user to enter two characters then check which one has higher ASCII value.
Answers
Answered by
2
Answer:
A character variable holds ASCII value (an integer number between 0 and 127) rather than that character itself in C programming. That value is known as ASCII value.
For example, ASCII value of 'A' is 65.
What this means is that, if you assign 'A' to a character variable, 65 is stored in that variable rather than 'A' itself.
Similar questions
Political Science,
3 hours ago
English,
3 hours ago
English,
5 hours ago
Physics,
8 months ago
Political Science,
8 months ago