Answer Posted / thiyanesh
#include<stdio.h>
void main()
{
char num ;
printf("enter the number: ");
scanf("%c",&num);
printf("the ascii value of %c is %d",num,num);
return 0;
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is array of structure in c?
Can main () be called recursively?
Explain the Difference between the New and Malloc keyword.
Are the outer parentheses in return statements really optional?
How do you determine the length of a string value that was stored in a variable?
What is the purpose of 'register' keyword?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
please send me the code for multiplying sparse matrix using c
what is the difference between class and unio?
What is hashing in c?
What is the use of gets and puts?
What is openmp in c?
What's the difference between constant char *p and char * constant p?
Is it possible to initialize a variable at the time it was declared?
What is function prototype in c language?