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

Why does everyone say not to use gets?

1099


What are reserved words?

1108


Are pointers integers in c?

1073


In which language linux is written?

1222


write a proram to reverse the string using switch case?

2931


What is getch c?

1294


What are pointers really good for, anyway?

1060


What is indirection?

1087


how to capitalise first letter of each word in a given string?

1922


What is the sizeof () operator?

1079


What are the types of data files?

1197


difference between Low, Middle, High Level languages in c ?

2079


What is the use of putchar function?

1055


What are the advantages and disadvantages of c language?

1013


What is meant by preprocessor in c?

1006