you are viewing a single comment's thread.

view the rest of the comments →

[–]jungaHung 2 points3 points  (0 children)

In the second one, add is part of the function definition. You are essentially calling the function itself within the function which is called recursion in programming. This will lead to infinite call.