MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program?#includeint reverse(int);int main(){ int no=5; reverse(no); return 0; }int reverse(int no) { if(no == 0) return 0; else printf("%d,", no); reverse (no--); } |
| A. | Print 5, 4, 3, 2, 1 |
| B. | Print 1, 2, 3, 4, 5 |
| C. | Print 5, 4, 3, 2, 1, 0 |
| D. | Infinite loop |
| Answer» E. | |