What is the output of printf("%d")?
Answers were Sorted based on User's Feedback
Answer / guest
it is used to print one integer data type value.
Is This Answer Correct ? | 90 Yes | 46 No |
Answer / 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 |
Answer / anand
it will print some value currently on top of the stack
Is This Answer Correct ? | 20 Yes | 7 No |
What is implicit conversion/coercion in c++?
What is static class data?
How does java differ from c and c++?
How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.
What's the most powerful programming language?
What is a container class? What are the types of container classes?
What does namespace mean in c++?
Carry out conversion of one object of user-defined type to another?
How do you write a function that can reverse a linked-list?
What is #include iostream?
Const char *p , char const *p What is the difference between the above two?
Write a Program to find the largest of 4 no using macros.