What is the output of printf("%d")?

Answer Posted / sathya

it is the integer in decimal form..
#include<stdio.h>
main()
{
int sum;
sum=6+3;
printf("%d\n",sum);
}

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why is iostream::eof inside a loop condition considered wrong?

805


How do you establish a has-a relationship?

802


What are c++ templates used for?

849


What is c++ library?

783


what are the decision making statements in C++? Explain if statement with an example?

850


Why c++ does not have finally?

806


What is the use of structure in c++?

735


Write a struct time where integer m, h, s are its members?

716


What is c++ namespace?

931


Is java made in c++?

770


What is :: operator in c++?

784


If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?

803


What is setiosflags c++?

699


how to explain our contribution in the project?

3344


Explain the scope of resolution operator.

831