Can a function return multiple values? If yes then explain with a suitable
example
Answers
Answered by
3
Answer:
Yes.
Explanation:
We can return more than one values from a function by using the method called “call by address”, or “call by reference”. In the invoker function, we will use two variables to store the results, and the function will take pointer type data. So we have to pass the address of the data.
Similar questions