Tech Study

C++ Program To Print Ascii Value

C++ Program to Print ASCII Value

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

Result

C++ Program to Print ASCII Value
C++ Program to Print ASCII Value

TaggedC++ Program to Print ASCII Value

Python Examples

Introduction: Python Examples are the basic programming concepts of python like python syntax,python data types,,python operators,python if else,python comments etc.. …

Read more

C String Functions

C String Functions perform certain operations, It provides many useful string functions which can come into action. The <string.h> header …

Read more