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
What are actual arguments?
What is meant by high-order and low-order bytes?
What are nested functions in c?
Why double pointer is used in c?
What are the types of pointers in c?
Explain what header files do I need in order to define the standard library functions I use?
Explain what is the best way to comment out a section of code that contains comments?
In which layer of the network datastructure format change is done
Explain what is the difference between functions abs() and fabs()?
Explain what is the benefit of using an enum rather than a #define constant?
Explain the difference between strcpy() and memcpy() function?
Write a program to identify if a given binary tree is balanced or not.
What is a example of a variable?
hi any body pls give me company name interview conduct "c" language only
using for loop sum 2 number of any 4 digit number in c language