Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int recursive(int N)
- {
- if(N == 0)
- return 0;
- else
- return 1 + recursive(N / 10);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement