Answer Posted / babitha
# include<stdio.h>
# include <conio.h>
void main()
{
char input;
printf("enter an input to get ascii of input");
scanf("%c",&input);
printf("\n ascii of input %c: is %d",input,input);
getch();
}
Is This Answer Correct ? | 39 Yes | 19 No |
Post New Answer View All Answers
Should I learn c before c++?
Why is it that not all header files are declared in every C program?
What is d scanf?
Is that possible to store 32768 in an int data type variable?
Explain what is the use of a semicolon (;) at the end of every program statement?
What is #include called?
Is null always equal to 0(zero)?
Which is the best website to learn c programming?
How can I read data from data files with particular formats?
Is sizeof a keyword in c?
What are the different types of C instructions?
What is wild pointer in c?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference