How many function calls will be performed to execute the following recursive function? void function(int N){ if(N==0) return; function(N+1); }
How many function calls will be performed to execute the following recursive function?
void function(int N){
if(N==0)
return;
function(N+1);
}From the Combined Bank Assistant Programmer (CSE) 2020 – Preliminary (DU) exam, question 35 of 47.