

MCQOPTIONS
Saved Bookmarks
1. |
Consider the following code snippet. What would be the output if oddsums(5); is executed afted the below code snippet ? |
A. | Returns [1,4,9,16,25] |
B. | Returns [1,2,3,4,5] |
C. | Returns [3,6,9,12,15] |
D. | Returns [1,3,5,7,9] |
Answer» B. Returns [1,2,3,4,5] | |