Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
int foo(int n,int r){ if(n>0) return (n%r+foo(n/r,r)); else return 0; } int main (){ printf("%d",foo(345,10)); }
pleaseexplain
0 Votes
1 Answer
9th May 2020, 8:05 AM
Karan Dewangan
challege
and
arr[]
array
blanks
calculate
elements.
fill
foo(int
in
int
mult
multiplication
of
product
return
size)
the
to
-1 Vote
1 Answer
16th Jan 2017, 7:41 AM
Mpho Percy Mkhwanazi
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Ok guys sorry I have to ask this :(
2 Votes
Test Case 3 & 4 Failed.
1 Votes
Frameworks?
2 Votes
New Courses
0 Votes
Personal Discussion on Using AI for Code Generation
0 Votes
Help with understanding the answer
2 Votes
Input emojis and stickers
0 Votes
what course should I take first
0 Votes
Understanding why this error behaves as it does
0 Votes
đ
1 Votes