daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. char nome[30] = "nadilson";
  3.  
  4. int recursivo(int i)
  5. {
  6.     if (i  == 0)
  7.     {
  8.         std::cout << "estou no return1";
  9.         return 1;
  10.     }
  11.  
  12.     else
  13.     {
  14.         std::cout << nome;
  15.         std::cout << i;
  16.         return (recursivo(i-1));
  17.     }
  18. }
  19. int main()
  20. {
  21.         recursivo(sizeof(nome));
  22.  
  23. }
RAW Paste Data
Top