returning 2 parameters in c++ code example
Example: cpp function that returns two arguments
std::tuple<int, int> multiple_outputs(int a, int b){
return {a, b};
}
std::tuple<int, int> multiple_outputs(int a, int b){
return {a, b};
}