Computer Science, asked by shagunsharma2727, 7 months ago

Can a function return multiple values? If yes then explain with a suitable
example​

Answers

Answered by KishanNandha
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