Why in my program output is wrong then expected? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Why in my program output is wrong then expected?

Please help me https://code.sololearn.com/ct0hE0uQ7o7z/?ref=app

11th Oct 2019, 3:21 PM
Prakhar
2 Answers
+ 2
What do you want your code to do for you??
11th Oct 2019, 3:51 PM
Arsenic
Arsenic - avatar
+ 1
I want to print the reverse of number using recursion. I store the reverse of number in variable t by calling the function by value. But when I agin call the function by value then it return the reverse of the number but this time double than the earlier. Hope you understand what I am saying.. Please help me.. . .. .
12th Oct 2019, 4:03 AM
Prakhar