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 does emoji p mean?

589


Explain how do you print only part of a string?

640


What is the translation phases used in c language?

620


Is c call by value?

590


Is register a keyword in c?

622






What is typedf?

657


What is clrscr ()?

626


a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

617


What is hashing in c language?

603


Write a program to implement queue.

653


What is an array in c?

581


Is it possible to use curly brackets ({}) to enclose single line code in c program?

778


What do you mean by command line argument?

632


In C language what is a 'dangling pointer'?

626


What are the different file extensions involved when programming in C?

736