Write a program to accept a character & display its
corrosponding ASCII value & vice versa?
Answer Posted / rukmanee
#include<stdio.h>
#include<conio.h>
void main()
{
char ch;
clrscr();
printf("\n enter a character :");
scanf("%c",&ch);
printf("the corresponding ascii value of the given
character is %d",ch);
getch();
}
| Is This Answer Correct ? | 31 Yes | 17 No |
Post New Answer View All Answers
What is merge sort in c?
What are multibyte characters?
What are the different categories of functions in c?
What is the scope of an external variable in c?
What is hash table in c?
Which is best linux os?
What will the preprocessor do for a program?
What is the explanation for modular programming?
What is double pointer?
Is it better to use malloc() or calloc()?
What is structure packing in c?
What are type modifiers in c?
Is javascript written in c?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
How would you obtain the current time and difference between two times?