best answer > How many values can be returned by a function 2024?- QuesHub | Better Than Quora
The most authoritative answer in 2024
  • Ethan Patel——Works at the International Committee of the Red Cross, Lives in Geneva, Switzerland.

    You can't return two values. However, you can return a single value that is a struct that contains two values. You can return only one thing from a function. Either you make a struct which contains all the things you want to return, or you pass some function parameters by reference.read more >>
    +119962023-05-09 05:47:15

About “two values、two values、two values”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消