fact (N) if (N equals 0) Return 1 else Return N * fact (N – 1) The above…

PYQ RSSB Informatics Assistant 2023

fact (N)

if (N equals 0)

Return 1

else

Return N * fact (N – 1)

The above algorithm is a specific example of ______.

  1. A.

    Selection

  2. B.

    Sorting

  3. C.

    Recursion

  4. D.

    Displacement

Attempted by 2 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Informatics Assistant

Loading lesson…