printf("%d",(printf("Hello")); What it returns?
Answer Posted / milan
it will return hello5,firstly the inner printf executes
print the hello and return the number of characters printed
that is 5 which get printed by outer printf...
More info at:
http://clanguagestuff.blogspot.com/2011/02/what-printf-returns.html
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When can a far pointer be used?
What is sizeof in c?
What is dynamic memory allocation?
Why is it that not all header files are declared in every C program?
How can you invoke another program from within a C program?
What is hungarian notation? Is it worthwhile?
What are the advantage of c language?
What is void pointers in c?
What are the advantages of external class?
how to construct a simulator keeping the logical boolean gates in c
List some of the dynamic data structures in C?
Explain #pragma statements.
What does static variable mean in c?
What library is sizeof in c?
What is storage class?