Multiple choice

Which of the following functions in C++ is a function that calls itself?

  1. mathematical function

  2. string function

  3. main function

  4. recursive function

  5. member function

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This function in C++ is a function that calls itself and the process of calling of a function by itself is called recursion.