Friday 20 June 2014

C++ program to convert ASCII value to character


Here is a C++ program to convert ASCII value to character


 SOURCE CODE OUTPUT
#include<iostream>
using namespace std;
int main()
{
    int ascii;
    cout<<"Enter the ASCII value ";
    cin>>ascii;
    cout<<"Character : "<<char(ascii);
    return 0;
}

Any questions regarding to program please write in comments.

No comments:

Post a Comment