char ch=10;printf("%d",ch);what is the output

Answer Posted / rogerthatrambo

although i know the answer:
what should be output of this:
do it without running.

int main()
{
char ch='48';
printf("%d %c",ch,ch);
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is c used?

652


What is hash table in c?

575


how logic is used

1503


Why c is called a mid level programming language?

607


List some of the dynamic data structures in C?

791






pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2202


What are different types of variables in c?

572


Explain two-dimensional array.

631


What is the difference between single charater constant and string constant?

625


2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist

2521


What is logical error?

605


What is graph in c?

586


What does c mean?

589


What math functions are available for integers? For floating point?

626


What is the difference between NULL and NUL?

729