I have a problem using the recursion.
what is the difference between these 2 codes?
void test(int i)
{
if(i==5) return;
test(i+1);
cout<<"print\n";//why this part is...
Type: Posts; User: ghost007
I have a problem using the recursion.
what is the difference between these 2 codes?
void test(int i)
{
if(i==5) return;
test(i+1);
cout<<"print\n";//why this part is...