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

Answer Posted / vinod

It prints the value in the stack.That means the if there is
previous initialisation of values.If there are no
definitions of integer varaibles,it would display the
garbage value.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How compile and run c++ program in turbo c++?

625


Can I learn c++ without c?

599


Which is best ide for c++?

561


Explain the concept of copy constructor?

615


What is a forward referencing and when should it be used?

573






What is the use of bit fields in structure declaration?

536


What do you mean by vtable and vptr in c++?

619


How would perform Pattern Matching in C++?

648


What is runtime polymorphism in c++?

580


What are the different types of polymorphism in c++?

583


What is pointer -to-members in C++? Give their syntax?

593


What are abstract data types in c++?

526


What is the operator in c++?

620


What do c++ programmers do?

549


How do you declare A pointer to a function which receives nothing and returns nothing

719