Question discussion

The recursive functions are executed in a ...........

314240Medium 1 reply 1,363 views
30
The recursive functions are executed in a ...........
  • AParallel order
  • BFirst In First Out order
  • CLast In First Out order
  • DIterative order
  • ERandom order
Correct answer: C

Discussion 1

0
CCommunity
Last In First Out order

Because for each function call an entry is created in stack frame( known as Active Record Instance), and are executed in LIFO manner.