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

Answer Posted / shakti singh khinchi

It will print garbage value & gives warning on compilation
like "too few arguments for format".

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class template?

583


How to access a variable of the structure?

580


What is c++ best used for?

558


What are structures and unions?

565


What is the operator in c++?

616






What is difference between rand () and srand ()?

586


Write about the role of c++ in the tradeoff of safety vs. Usability?

589


What does namespace mean in c++?

548


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

2277


What is stream and its types in c++?

550


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

580


What is while loops?

611


What is the difference between containment and delegation?

698


what is VOID?

623


Do the names of parameters have to agree in the prototype, definition, and call to the function?

596