0
can someone explain to me how this code works?
#include <iostream> using namespace std; void me(int j){ if(j>1){ me(j-1); } cout<<j<<" "; } int main() { int x=99; me(x); return 0; }
1 Respuesta
+ 5
This program is an example of recursion. It will print numbers 99 - 2