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 are qualifiers in c?
What are the advantages and disadvantages of a heap?
What are the types of data files?
Why does everyone say not to use gets?
What is the difference between array and pointer?
How is a structure member accessed?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
What is meant by recursion?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
When should the register modifier be used? Does it really help?
Who developed c language?
Explain pointers in c programming?
How can this be legal c?
What is a double c?
Write a program to print factorial of given number without using recursion?