Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write a program to accept a character & display its
corrosponding ASCII value & vice versa?

Answer Posted / pansare sandeep

#include <iostream.h>
#include<conio.h>
void main()
{
char c;
int d;
clrscr();
cout<<"Enter any key"<<endl;
cin>>c;
d=c;
cout<<"Corresponding ascii is "<<d;
getch();
}

Is This Answer Correct ?    11 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a pointer be volatile in c?

984


Is void a keyword in c?

986


Explain how are 16- and 32-bit numbers stored?

1268


number of times a digit is present in a number

2039


What is New modifiers?

1128


What is a c token and types of c tokens?

1064


a c code by using memory allocation for add ,multiply of sprase matrixes

2800


What is c value paradox explain?

1092


Without Computer networks, Computers will be half the use. Comment.

2299


Can we initialize extern variable in c?

1136


Why c is a mother language?

1038


What is hashing in c language?

1313


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2096


What is the difference between a free-standing and a hosted environment?

1147


In a byte, what is the maximum decimal number that you can accommodate?

1140