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
Is main is user defined function?
What is the advantage of c?
What is #line?
Write a program to print fibonacci series without using recursion?
What does return 1 means in c?
Why n++ execute faster than n+1 ?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is the general form of #line preprocessor?
Find MAXIMUM of three distinct integers using a single C statement
What are control structures? What are the different types?
Why is this loop always executing once?
What are the features of c languages?
What is the general form of function in c?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
Why is void main used?