Question 68

Recursive procedures is implement using:

  1. AString
  2. BQueue
  3. CStack
  4. DLinked List
Show answerHide answer

Correct answer: (C) Stack

Explanation

Each recursive call pushes its return address and local variables onto a stack, so recursion is implemented with a stack.

From DSSSB TGT Computer Science Practice Set 2

This is question 68 of DSSSB TGT Computer Science Practice Set 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.