What is the output of printf("%d")?
Answer Posted / cooooooool bipul
Hey people
It will not give any syntax error more specifically.. it
will not give any type of error..
The output depends on the compiler u r using...
if it is GCC of linux then O/p== garbage value
there are compilers which will give the last integer value
assigned..
example...
i=30;
printf("%d");
will give ouput 30... but for Gcc it will be garbage value.
| Is This Answer Correct ? | 43 Yes | 8 No |
Post New Answer View All Answers
What is prototype in c++ with example?
What are the types of container classes?
What are stacks?
What is a tree in c++?
What is the use of setfill in c++?
How delete [] is different from delete?
Who made c++?
Why do we need function?
Is it possible to get the source code back from binary file?
How to declare a pointer to an array of integers?
How to declare a function pointer?
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)
What is the difference between multiple and multilevel inheritance in c++?
What can I safely assume about the initial values of variables which are not explicitly initialized?
What is a dll entry point?