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

Answer Posted / masquerade

for int and char specifier it prints garbage value
and for float it will give error

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you clear a map in c++?

809


What is the difference between method overloading and method overriding in c++?

769


Is atoi safe?

806


Are c and c++ similar?

785


What is the use of setfill in c++?

784


Can we use struct in c++?

771


How do you add an element to a set in c++?

733


Explain shallow copy?

781


What are the steps in the development cycle?

797


How much is c++ certification?

760


Are vectors faster than arrays?

754


What is the difference between global variables and static varables?

798


What is lvalue?

906


What is c++ hash?

835


When can I use a forward declaration?

798