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
#include
What does 2n 4c mean?
What is far pointer in c?
What are the three constants used in c?
Where is c used?
What is the sizeof () a pointer?
In a switch statement, explain what will happen if a break statement is omitted?
What is the difference between the = symbol and == symbol?
What is null character in c?
Why c is procedure oriented?
Explain why can’t constant values be used to define an array’s initial size?
What is use of integral promotions in c?
How can I split up a string into whitespace-separated fields?
What is sizeof c?
Do you know the purpose of 'register' keyword?