Recursion → A function calling itself is known as Recursion. usually recursion take more time and memory than loops. also there is risk of stack overflow for large values. /* SYNTAX return_type function_name(parameters) { // Base case (term...

Markdown supported · ⌘↵ to post
No responses yet.