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 / 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


Please Help Members By Posting Answers For Below Questions

Describe how arrays can be passed to a user defined function

1340


Is c object oriented?

1011


Using which language Test cases are added in .ptu file of RTRT unit testing???

4353


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2158


Do you have any idea how to compare array with pointer in c?

1090


What is the right type to use for boolean values in c? Is there a standard type?

1056


What is the purpose of the statement: strcat (S2, S1)?

1223


How can I use a preprocessorif expression to ?

1109


What are the two forms of #include directive?

1218


How do you determine whether to use a stream function or a low-level function?

1190


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

1250


What functions are in conio h?

1261


What is the purpose of realloc()?

1195


What are the different types of data structures in c?

1214


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1304