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 | 10 No |
Post New Answer View All Answers
What does return 1 means in c?
What is the difference between a free-standing and a hosted environment?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
In c programming language, how many parameters can be passed to a function ?
What is meant by keywords in c?
How can you increase the size of a statically allocated array?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Which built-in library function can be used to match a patter from the string?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
What type of function is main ()?
What is the use of #define preprocessor in c?
Explain what is the difference between #include and #include 'file' ?
Are negative numbers true in c?
c language interview questions & answer
what will be maximum number of comparisons when number of elements are given?