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

Write a program to add three numbers in C++ utilizing classes.

619


which operator is used for performing an exponential operation a) > b) ^ c) none

602


What are multiple inheritances (virtual inheritance)?

578


Explain overriding.

602


What is implicit conversion/coercion in c++?

645






What is a constructor in c++ with example?

576


Why do we need c++?

593


What is a linked list in c++?

540


Can turbo c++ run c program?

627


What is wrapper class in c++?

624


What is :: operator in c++?

574


What is the difference between *p++ and (*p)++ ?

771


Out of fgets() and gets() which function is safe to use?

639


what is scupper?

1890


What is fixed in c++?

582