printf("%d",(printf("Hello")); What it returns?
Answers were Sorted based on User's Feedback
Answer / srinivasa. p
5
Printf() return number character print on STD::out
| Is This Answer Correct ? | 13 Yes | 16 No |
Answer / s.veena bhargavi
prinf execution starts from right to left so it will prints
hello &here printf is taken as a function, it returns int
value as len of srting is 5.it does'nt count /0
| Is This Answer Correct ? | 4 Yes | 7 No |
Answer / anonymous
an Error will occur....bcos the function call is missing in
main().
| Is This Answer Correct ? | 0 Yes | 4 No |
Answer / vignesh1988i
the printf fun() always writterns the numbeer of characters
...... so 5 is o/p
| Is This Answer Correct ? | 0 Yes | 6 No |
Answer / pavithra
error will occur because within a printf statement another
printf statement is present
| Is This Answer Correct ? | 3 Yes | 15 No |
Answer / srinivasa. p
1
Printf() return number character print on STD::out
| Is This Answer Correct ? | 4 Yes | 23 No |
Rapunzel walks into the forest of forgetfullness. She meets a Lion who lies on Monday Tuesdays and Wednesdays and meets a rabbit who lies on Thurs fridays and saturdays . On that day both say that "I lied yesterday". What day is it .
printf("%d",(printf("Hello")); What it returns?
WHOT IS CHAR?
what is difference between overriding and overloading?
what is the disadvantage of using macros?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
what is the function of .h in #include<stdio.h> in c ?
23 Answers HCL, IBM, Wipro,
What is the use of a semicolon (;) at the end of every program statement?
How do I get a null pointer in my programs?
1.write a program to merge the arrays 2.write efficient code for extracting unique elements from a sorted list of array?
What is output redirection?
Explain that why C is procedural?