Write a program to accept a character & display its
corrosponding ASCII value & vice versa?
Answer Posted / govindkrishna
#include<stdio.h>
#include<conio.h>
main()
{
char ch;
printf("enter any charecter %c /n");
scanf("%c ",&ch);
printf("the ACSCII value is %d= /n",ch);
}
| Is This Answer Correct ? | 61 Yes | 30 No |
Post New Answer View All Answers
What will the preprocessor do for a program?
What are the complete rules for header file searching?
Can I initialize unions?
Is c is a procedural language?
Write a C program in Fibonacci series.
What is hungarian notation? Is it worthwhile?
What is the difference between malloc() and calloc()?
How can you check to see whether a symbol is defined?
What is scope rule of function in c?
Tell me what is null pointer in c?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
What is difference between arrays and pointers?
When we use void main and int main?
Should I learn c before c++?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures