Write a program to accept a character & display its
corrosponding ASCII value & vice versa?
Answer Posted / sanjay malik
#include<stdio.h>
main()
{
char ch;
printf("ENTER A CHARACTER: ");
scanf("%c",&ch);
printf("THE ASCII CODE IS %d",ch);}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Is that possible to store 32768 in an int data type variable?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is static and volatile in c?
Are comments included during the compilation stage and placed in the EXE file as well?
diff between exptected result and requirement?
What does the c in ctime mean?
Explain how does flowchart help in writing a program?
What’s a signal? Explain what do I use signals for?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
What does s c mean on snapchat?
How many levels of indirection in pointers can you have in a single declaration?
In a header file whether functions are declared or defined?
What is c language and why we use it?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.