MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following function function calculate( n ) { if(n equals 5) return 5 else return (n + calculate(n-5)) end } Shishir calls the function by the statement, calculate(20). What value will the function return? |
| A. | 50 |
| B. | 200 |
| C. | 35 |
| D. | 20 |
| Answer» B. 200 | |