printf("%d",(printf("Hello")); What it returns?

Answer Posted / vikas pawar

printf("%d",(printf("Hello"));


Result is Hello5
Inner printf prints Hello and outer printf gives length of
string i.e. 5

Is This Answer Correct ?    69 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are types of structure?

600


What is conio h in c?

616


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

673


What is the scope of static variable in c?

524


What does sizeof function do?

608






What is a buffer in c?

567


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1125


What is getch() function?

642


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1629


What is the correct declaration of main?

672


how should functions be apportioned among source files?

623


Is calloc better than malloc?

570


Why double pointer is used in c?

563


How do we open a binary file in Read/Write mode in C?

674


What are the different categories of functions in c?

639