Sunday, February 8, 2015

ASCII code for the given character - Learn


#include<iostream.h>
#include<conio.h>
main()
{
            char ch;
            cout<<”Enter the character”;
            cin>>ch;
            cout<<”The ASCII code for the character ”<<ch<<” is ”<<(int)ch;
            getch();

}

Share

& Comment

0 comments:

Post a Comment

 

Copyright © 2015 Code Fervor™ is a registered trademark.

Designed by Templateism By Naman Kumar