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 |
What are the different flags in C? And how they are useful? And give example for each in different consequences?
difference between memcpy and strcpy
What are the types of bitwise operator?
What is pivot in c?
What is alloca() and why is its use discouraged?
swap two integer variables without using a third temporary variable?
Differentiate between new and malloc(), delete and free() ?
What is the best way to store flag values in a program?
. Write a program to get a string and to convert the 1st letter of it to uppercase
What is the output of the following program main();{printf ("chennai""superkings"}; a. Chennai b. superkings c. error d. Chennai superkings
Hi Every one......... Please Any body give me the answer for my question. Is it possible to print the word "PRINT F", without using printf() statement in C-Language.
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1