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

Answer Posted / rahul shrivastava

surely ans will be 10.
bcz we are using %d access specifire..if we will use %c then
correnponding symbol of asciii valut 10 will be display(but
is becoms invisible)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Compare interpreters and compilers.

640


Write a code to generate a series where the next element is the sum of last k terms.

735


What is #line in c?

564


Can you add pointers together? Why would you?

647


Define Array of pointers.

636






How does #define work?

651


How to compare array with pointer in c?

625


Describe wild pointers in c?

641


What is the difference between test design and test case design?

1571


Whats s or c mean?

594


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

589


Which type of language is c?

654


Is void a keyword in c?

579


What is a global variable in c?

591


What is a volatile keyword in c?

638