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

Answer Posted / creed

When insufficent argumrnts r give 2 c compiler it give
arbitrary answers
in turbo c it gives o/p =0
in other compiler it trys 2 read values from last stack top
i.e garbage
some compiler can may even crash

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you flush std cout?

575


Are c and c++ different?

541


What is the advantage of an external iterator.

575


Explain how to initialize a const member data.

598


What is enum class in c++?

710






Define copy constructor.

622


Write a function to find the nth item from the end of a linked list in a single pass.

571


Who was the creator of c++?

562


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

605


Differentiate between the manipulator and setf( ) function?

595


What is pointer in c++ with example?

520


How can you link a c++ program to c functions?

622


What is the use of endl in c++?

595


What is double in c++?

561


What are the implicit member functions of class?

597