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
What does s c mean on snapchat?
What does the format %10.2 mean when included in a printf statement?
How will you delete a node in DLL?
How we can insert comments in a c program?
What is function and its example?
What is the benefit of using const for declaring constants?
What is identifier in c?
I heard that you have to include stdio.h before calling printf. Why?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
What does malloc () calloc () realloc () free () do?
Do pointers store the address of value or the actual value of a variable?
what is ur strangth & weekness
What is the use of ?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What are the different types of C instructions?