Horje
ascii cpp Code Example
c++ get ascii value of char
#include<iostream>
using namespace std;
int main ()
{
    char c;
    cout << "Enter a character : ";
    cin >> c;
    cout << "ASCII value of " << c <<" is :  " << (int)c;
    return 0;
}
ascii cpp
#include <iostream>
using namespace std;

int main() {
 char c;
 cout << "Enter a character: ";
 cin >> c;
 cout << "ASCII Value of " << c << " is " << int(c);
 return 0;
}




Cpp

Related
get data from terminal c++ Code Example get data from terminal c++ Code Example
how to find ascii value in c++ Code Example how to find ascii value in c++ Code Example
singleton unique_ptr Code Example singleton unique_ptr Code Example
singleton Code Example singleton Code Example
array length c++ Code Example array length c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10