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
Is c easier than java?
what do you mean by inline function in C?
What is an expression?
What is enumerated data type in c?
Explain what are multibyte characters?
What are linked lists in c?
What is c definition?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
How many levels deep can include files be nested?
How pointers are declared?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What is the process of writing the null pointer?
what is the significance of static storage class specifier?
What is a null pointer in c?
What is the difference between constant pointer and constant variable?