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 / kr swamy naidu

make finction return type as a structure or array so that you can return multiple values

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

1064


When should a type cast be used?

1018


What is difference between constant pointer and constant variable?

1311


if p is a string contained in a string?

1848


Describe explain how arrays can be passed to a user defined function

1103


What are dangling pointers in c?

1230


What is time complexity c?

997


In which header file is the null macro defined?

1344


What are the key features in c programming language?

1074


What is c token?

1068


How to create struct variables?

1109


Explain about the constants which help in debugging?

1379


how to find anagram without using string functions using only loops in c programming

3192


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

1014


Explain how do you generate random numbers in c?

1090