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 do you write a function that can reverse a linked-list?

790


Write bites in Turbo c++ Header ("Include") Files.

938


What is the difference between equal to (==) and assignment operator (=)?

774


Explain about vectors in c ++?

787


What is vectorial capacity?

918


why and when we can declar member fuction as a private in the class?

1828


What is function overloading c++?

778


Please explain class & object in c++?

777


What can I use instead of namespace std?

861


Why ctype h is used in c++?

707


Define a conversion constructor?

807


What is stream and its types in c++?

766


Is c++ fully object oriented?

729


Which bitwise operator is used to check whether a particular bit is on or off?

802


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

825