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

How can I dynamically allocate arrays?

819


Why c is called procedure oriented language?

828


What is a good way to implement complex numbers in c?

835


Which type of language is c?

859


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1040


write a program for the normal snake games find in most of the mobiles.

2050


Do pointers store the address of value or the actual value of a variable?

856


How can I write a function that takes a format string and a variable number of arguments?

858


What is structure data type in c?

784


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

5011


Explain what is the difference between functions abs() and fabs()?

880


Explain how do you print an address?

930


Here is a good puzzle: how do you write a program which produces its own source code as output?

871


What is difference between far and near pointers?

827


What are header files in c programming?

887