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
Difference between Shallow copy and Deep copy?
Write a Program to find whether the given number or string is palindrome.
What is infinite loop?
What is #define in c?
Is Exception handling possible in c language?
What is property type c?
Process by which one bit pattern in to another by bit wise operation is?
How the c program is executed?
Explain about C function prototype?
What is masking?
How can I copy just a portion of a string?
What is the description for syntax errors?
How does #define work?
Why is main function so important?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?