+ 1
Can we use multiple time to return multiple value of different variable in one function
2 Answers
+ 3
This discussion may be related to your question:
https://www.sololearn.com/Discuss/1695393/?ref=app
+ 2
Nope, you can return only 1 value in a function. If you want to return multiple values, the best way would be returning an array of multiple objects.