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

Answer Posted / dally

It will print hello with length of 5.Because return value of
printf is length of that string.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

2965


How can I recover the file name given an open stream?

762


What is the benefit of using #define to declare a constant?

852


Explain what is the heap?

809


Explain the use of bit fieild.

916


What is malloc calloc and realloc in c?

924


How is a null pointer different from a dangling pointer?

779


Which is best linux os?

768


What is #error and use of it?

921


What is the use of header files?

828


How will you delete a node in DLL?

942


What is p in text message?

742


What do you understand by friend-functions? How are they used?

935


writ a program to compare using strcmp VIVA and viva with its output.

1777


Explain the difference between null pointer and void pointer.

854