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
What is masking?
What are operators in c?
How can I avoid the abort, retry, fail messages?
Write a program to print fibonacci series using recursion?
What is an lvalue in c?
What functions are used for dynamic memory allocation in c language?
Explain how do you list files in a directory?
What language is lisp written in?
what is the role you expect in software industry?
What are the different types of pointers used in c language?
Why main is used in c?
what are the advantages of a macro over a function?
What is a char in c?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply