+ 1

return in c++

hello i need to return 2 value in my function in c++ using return but it only read the first one any help ?

27th Feb 2019, 8:09 PM
hamoz senpai
hamoz senpai - avatar
1 Answer
+ 2
You can return a struct or you can return by modify a parameter by reference/pointer. Can you post the function? Just for curiosity...
27th Feb 2019, 8:17 PM
KrOW
KrOW - avatar