) What will be the output of following code? Also give step by step explanation for determining the output. #include int pqr(int,int); int main() { int x=pqr(20,2); printf("%d",x); return 0; } int...


) What will be the output of following code? Also give step by step explanation for determining the output.
#include
int pqr(int,int);
int main()
{
int x=pqr(20,2);
printf("%d",x);
return 0;
}
int pqr(int x,int y)
{
if(x==0)
{
return 0;
}
else
{
return x+pqr(x/y,y);
}
}



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here