mcqs bucket

  • MCQs Bucket | Program Write a Program in C++ that Find ASCII Value of a Character

    mcqsbucket

      Best guide for exams of all nature, Competitive exams and Interviews

Write a Program in C++ that Find ASCII Value of a Character

	 
                                 		
#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;
}