printf("%d",(printf("Hello")); What it returns?
Answer Posted / amit shrivastava
it will show hello5
hello from the inner printf and 5 value return by the outer
printf function,as printf return int value of the string
and in the example there is 5 wrds so the lenght is 5 which
it return.
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Why is it important to memset a variable, immediately after allocating memory to it ?
Explain main function in c?
Explain continue keyword in c
How would you use the functions fseek(), freed(), fwrite() and ftell()?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Explain what is the difference between text files and binary files?
How can I write a function analogous to scanf?
Define circular linked list.
What is pointer in c?
What are actual arguments?
What is the explanation for prototype function in c?
What does %p mean c?
What is use of #include in c?
Write a program to print all permutations of a given string.
Can the “if” function be used in comparing strings?