Posts by user54858 • 23 points
1 post
-
2
votes1
answer4641
viewsQ: Higher value of a vector, with recursion
I’m studying recursion and vectors, but I can’t understand how this method works, which returns the highest value using recursion. int maximoR (int n, int v[]) { int x; if (n == 1) x = v[0]; else {…