Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. int recursive(int N)
  2. {
  3. if(N == 0)
  4. return 0;
  5.  
  6. else
  7. return 1 + recursive(N / 10);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement