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 |
how to find the largest element of array without using relational operater?
When was c language developed?
can we write a c program with out using main
Explain the use of function toupper() with and example code?
How to add two numbers without using arithmetic operators?
18 Answers College School Exams Tests, e track, Infosys, Pan Parag, Sapient, TCS,
Write a program to generate random numbers in c?
How do you write a program which produces its own source code as output?
What are the types of operators in c?
What is the use of c language in real life?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Explain how can a program be made to print the name of a source file where an error occurs?
Explain low-order bytes.