Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / milan

it will return hello5,firstly the inner printf executes
print the hello and return the number of characters printed
that is 5 which get printed by outer printf...
More info at:
http://clanguagestuff.blogspot.com/2011/02/what-printf-returns.html

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pivot in c?

976


What is use of #include in c?

1091


Is it possible to execute code even after the program exits the main() function?

1283


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1085


Can you write the function prototype, definition and mention the other requirements.

1086


What are data structures in c and how to use them?

1097


What is the size of array float a(10)?

1094


Does * p ++ increment p or what it points to?

1057


What is meant by type casting?

1023


What is #line in c?

963


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

948


Explain how can I manipulate strings of multibyte characters?

1163


What is scope rule of function in c?

1031


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

980


What are the uses of a pointer?

1103