 
			 
			MCQOPTIONS
 Saved Bookmarks
				This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. | int main(){ printf(""Hello""); main(); return 0;}10.Which of the following is true about recursion? | 
| A. | Recursion provides a clean and simple way to write code. | 
| B. | The recursive program has less space requirements than iterative program | 
| C. | The principle of stack is FIFO | 
| D. | All of the above | 
| E. | |
| Answer» B. The recursive program has less space requirements than iterative program | |
| 2. | #include <stdio.h>main(){ int num=5; int fun(int num); printf(""%d"",fun(num));}int fun(int num){ if(num>0) return(num+fun(num-2));}9.What will be output for the following code? | 
| A. | Hello is printed once | 
| B. | Hello infinite number of times | 
| C. | Hello is not printed at all | 
| D. | 0 is returned | 
| Answer» C. Hello is not printed at all | |
| 3. | The process in which a function calls itself directly or indirectly is called? | 
| A. | Recursion | 
| B. | Type Conversions | 
| C. | Constant | 
| D. | Abstract Classes | 
| Answer» B. Type Conversions | |