: What would happen if the stopping condition in factorial were
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:6| Question number:34
All Answers
total answers (1)
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:6| Question number:34
total answers (1)
If we pass a negative number to the function, then it will recursively call itself infinitely.
need an explanation for this answer? contact us directly to get an explanation for this answer