Is there a preferred way to return multiple values from a C++ function? For example, imagine a function that divides two integers and returns both the quotient and the rema
It's entirely dependent upon the actual function and the meaning of the multiple values, and their sizes: