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 / priya.m

#include<iostream.h>
#include<conio.h>
void main()
char c;
int a;
clrscr();
cout<<"enter any word"<<photo;
cin>>c;
a=c;
cout<"corresponding ASCII is"<<a;
getch();
}

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between Shallow copy and Deep copy?

2026


Write a Program to find whether the given number or string is palindrome.

1280


What is infinite loop?

1092


What is #define in c?

1048


Is Exception handling possible in c language?

2048


What is property type c?

1094


Process by which one bit pattern in to another by bit wise operation is?

1170


How the c program is executed?

1162


Explain about C function prototype?

1099


What is masking?

1154


How can I copy just a portion of a string?

1318


What is the description for syntax errors?

1170


How does #define work?

1084


Why is main function so important?

1108


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16790