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

How can I return multiple values from a function?

Answer Posted / vignesh1988i

we can indirectly return multiple values from a function through pointers......

what ever you make the alterations in the sub-routine since pointers refer to address the value will be directly gets changed in the actual address

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does return 1 means in c?

1003


Whats s or c mean?

947


is it possible to create your own header files?

1035


What is a structural principle?

1088


How can you restore a redirected standard stream?

1051


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

5393


What is array within structure?

1057


What are types of preprocessor in c?

1014


How pointer is different from array?

1014


What is the g value paradox?

1102


What is the need of structure in c?

1044


Explain the difference between strcpy() and memcpy() function?

946


the question is that what you have been doing all these periods (one year gap)

2016


What are the two types of structure?

1034


Why dont c comments nest?

998