+ 1

How function can return 2 arguments with 4 different methods ?

I think by return pointer or return an array...

20th Oct 2018, 9:06 AM
Aisha Ali
Aisha Ali - avatar
1 Answer
+ 3
So i remember two simple methods. 1: Return a struct that contains the types you need, https://code.sololearn.com/cxPZVim3lVHc 2: Pass by Reference https://code.sololearn.com/cEN0HU9OmyHk
20th Oct 2018, 12:16 PM
Anya
Anya - avatar