Is there a C++ keyword to output equivalent Ascii values of a certain character | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there a C++ keyword to output equivalent Ascii values of a certain character

Ascii values

26th Jun 2022, 12:31 PM
Liza Tolentino
2 Answers
+ 3
cout << (int)character ; ex: cout << (int)'A' ;
26th Jun 2022, 12:35 PM
Jayakrishna 🇮🇳