Posts by Fernando Bandeira Soares • 91 points
1 post
-
9
votes4
answers12732
viewsQ: Multiple return in C/C++
Is it possible to return multiple values? For example: umafuncao() { int x = 1, y = 2; return x,y; } void main() { int a, b; a, b = umafuncao(); } I’m asking this question because I built a code…