Examveda

Which of the following methods can be used to find the sum of digits of a number?

A. Recursion

B. Iteration

C. Greedy algorithm

D. Both recursion and iteration

Answer: Option D


This Question Belongs to Data Structure >> Miscellaneous On Data Structures

Join The Discussion

Related Questions on Miscellaneous on Data Structures