Answer Posted / vignesh1988i
#include<stdio.h>
#include<conio.h>
void main()
{
char n;
printf("enter the character:");
scanf("%c",&n);
printf("the ascii value %c is %d",n,n);
getch();
}
| Is This Answer Correct ? | 53 Yes | 16 No |
Post New Answer View All Answers
What is the stack in c?
What is pragma c?
Explain union.
What is the difference between exit() and _exit() function?
What Is The Difference Between Null And Void Pointer?
what is the function of pragma directive in c?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What is a structure and why it is used?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
What is c language used for?
Explain the use of keyword 'register' with respect to variables.
What does %c do in c?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
What is a example of a variable?
What are the types of c language?