printf("%d",(printf("Hello")); What it returns?

Answer Posted / anil kumar

Result is Hello5
Inner printf prints Hello and outer printf gives length of
string i.e. 5

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an lvalue?

626


What is dynamic dispatch in c++?

548


Is it possible to initialize a variable at the time it was declared?

745


What is #line in c?

552


What is variable in c example?

583






What are the benefits of organizational structure?

561


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

854


What is the g value paradox?

630


difference between object file and executable file

6082


What is logical error?

594


Subtract Two Number Without Using Subtraction Operator

344


Which is best linux os?

550


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1284


the question is that what you have been doing all these periods (one year gap)

1610


What are local static variables? How can you use them?

635