MCQOPTIONS
Saved Bookmarks
| 1. |
#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 | |