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 are bit fields in c?

1604


What are the application of void data type in c?

1138


What is difference between structure and union?

1082


What is modeling?

1003


Which programming language is best for getting job 2020?

987


if p is a string contained in a string?

1797


Write a program to print “hello world” without using semicolon?

1080


How reliable are floating-point comparisons?

1040


What is quick sort in c?

1023


What are valid operations on pointers?

1154


Is int a keyword in c?

909


Discuss the function of conditional operator, size of operator and comma operator with examples.

1099


What is the c language function prototype?

1044


What is difference between Structure and Unions?

1189


Is main a keyword in c?

1086