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

Answer Posted / jj

answer is 49,a character constant can be one character
so ch=10----> here 1 is taken as character,in print
statement it is conv to ascii

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the best way to store flag values in a program?

580


A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor

623


What is string concatenation in c?

568


Why do we use int main?

610


When should the volatile modifier be used?

687






What does nil mean in c?

672


Can 'this' pointer by used in the constructor?

610


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

1633


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

671


code for replace tabs with equivalent number of blanks

1640


What is void c?

566


What is c language and why we use it?

621


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

2934


What is the scope of an external variable in c?

567


Is stack a keyword in c?

635