1. Computer Science Engineering (CSE)
  2. Design and Analysis of Algorithms
  3. Recursive approach to find power of a nu...
Q.

Recursive approach to find power of a number is preferred over iterative approach.

A. true
B. false
Answer» B. false
Explanation: the recursive code requires memory in call stack which makes it less preferable as compared to iterative approach.

Discussion