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
Why do we use header files in c?
What is %d called in c?
What is the use of printf() and scanf() functions?
What are the advantages of c language?
How main function is called in c?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
What is #include in c?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
Explain bit masking in c?
What is sizeof int in c?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
What is atoi and atof in c?
What is fflush() function?
Explain what is the advantage of a random access file?
Why doesnt this code work?