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

Answer Posted / hardik jasani

void main()
{
printf("%d");
}
getch();

Output:0

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why isn't sizeof for a struct equal to the sum of sizeof of each member?

546


What is the difference between while and do while loop?

564


How does c++ structure differ from c++ class?

595


What is the use of bit fields in structure declaration?

546


What is the full form of c++?

623






Explain dangling pointer.

684


How the keyword struct is different from the keyword class in c++?

589


What programming language should I learn first?

597


What do you mean by inheritance in c++?

612


What are friend classes? What are advantages of using friend classes?

614


Why pointer is used in c++?

621


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

572


What is a base class?

610


Explain static and dynamic memory allocation with an example each.

650


What relational operators if statements in c++?

649