Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

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;
}
 
PREVIOUS NEXT
Tagged: #ascii #cpp
ADD COMMENT
Topic
Name
1+6 =