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

Answer Posted / marc

58
Ascii of '0' is 48
thus, ascii of '10' is 48+10=58

Is This Answer Correct ?    6 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are # preprocessor operator in c?

632


How can I open a file so that other programs can update it at the same time?

661


Can you write the algorithm for Queue?

1555


How can I do peek and poke in c?

621


What is the difference between functions abs() and fabs()?

651






given post order,in order construct the corresponding binary tree

2323


How can I delete a file?

630


Explain how can a program be made to print the line number where an error occurs?

694


What is strcmp in c?

599


Using which language Test cases are added in .ptu file of RTRT unit testing???

3602


Is it better to use a macro or a function?

657


What is difference between array and structure in c?

580


Can variables be declared anywhere in c?

624


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

731


how should functions be apportioned among source files?

627