Answer Posted / dhinakar
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
void main()
{
char num;
printf("Enter the number");
scanf("%c",&num);
printf("ASCII of %d is %d\n",atoi(&num),num);
}
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
write a program to copy the string using switch case?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
When is a void pointer used?
Do you know the use of fflush() function?
What is the difference between abs() and fabs() functions?
Explain what is the use of a semicolon (;) at the end of every program statement?
Explain how can I write functions that take a variable number of arguments?
What happens if a header file is included twice?
Write the control statements in C language
Which is best book for data structures in c?
Explain what are reserved words?
p*=(++q)++*--p when p=q=1 while(q<=6)
Does c have function or method?
What is logical error?
Define C in your own Language.