A function can return more than one value?
Answers
Answered by
1
Answer:
Even though a function can return only one value but that value can be of pointer type. ... If we want the function to return multiple values of same data types, we could return the pointer to array of that data types. We can also make the function return multiple values by using the arguments of the function.
Similar questions
Social Sciences,
5 months ago
Social Sciences,
5 months ago
Chemistry,
5 months ago
History,
11 months ago
Science,
1 year ago
Math,
1 year ago