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

Answer Posted / ashif ali

it will display only garbage value because
int a=12;
printf("%d");
output=12

Is This Answer Correct ?    8 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are there any special rules about inlining?

789


What is a list c++?

809


What is difference between c++ 11 and c++ 14?

762


How is computer programming useful in real life?

779


What are activex and ole?

771


What is a friend function in c++?

1017


Is linux written in c or c++?

779


Should the member functions which are made public in the base class be hidden?

765


What is class invariant in c++?

956


What is the best free c++ compiler for windows?

817


Why is standard template library used?

781


Which software is used for c++ programming?

824


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.

2519


Is C++ case sensitive a) False b) Depends on implementation c) True

798


How is objective c different from c++?

995