This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Recursion”.Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial.1. What will be the output of the following C code?#include<stdio.h> main() { int n; n=f1(4); printf("%d",n); } f1(int ...
A and C B and C D Answer & Explanation 2) Which of the following is/are correct types of recursion in PHP? Direct recursion Indirect recursion Both None Answer & Explanation 3) What is the correct output of the given code snippets? <?php function fun($num) { if ($num < 5) { ech...
Recursion functionis a function that calls itself again and again until a specific condition becomes true. In functional programming,recursionplays a big role and being a functional programming language Scala also supports recursion function. How does Recursion function work? So,Recursion functionis call...