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
What is the purpose of realloc()?
What are loops c?
When should a type cast not be used?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
What is identifier in c?
How can you determine the size of an allocated portion of memory?
What is bubble sort in c?
What is an auto keyword in c?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Create a simple code fragment that will swap the values of two variables num1 and num2.
Write the syntax and purpose of a switch statement in C.
What is pragma in c?
Is fortran faster than c?
Explain what is meant by high-order and low-order bytes?