MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following pseudocode segment:K: =0for i1:= l to nfor i2:= 1 to i1:::for im:= 1 to im-1K: = K+1The value of K after the execution of this code shall be |
| A. | C (n + m - 1, m) |
| B. | C (n - m + 1, m) |
| C. | C (n + m - 1, n) |
| D. | C (n - m + 1, n) |
| Answer» B. C (n - m + 1, m) | |