Data Types – Char & ASCII Value C++

The char data type in C++ is used to store a single character. It is typically represented as a single byte in memory.
You can also use the int() function to convert a char variable to its corresponding ASCII value. For example, the following code prints the ASCII value of the variable myChar:
#30DaysOFCreative 

Popular posts from this blog

Whitespace in C++

Data Types - Bool And Void C++

Data Types – Integer C++