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
Write a program to use switch statement.
What is the difference between a string and an array?
How can I manipulate strings of multibyte characters?
Which is an example of a structural homology?
What is spaghetti programming?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
if p is a string contained in a string?
What are the disadvantages of external storage class?
Explain what are preprocessor directives?
Differentiate abs() function from fabs() function.
What is the newline escape sequence?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is the purpose of 'register' keyword in c language?
What are different types of variables in c?
Why cant I open a file by its explicit path?