MCQOPTIONS
Saved Bookmarks
| 1. |
How many times while loop condition is tested in the following C code snippets, if k is initialized to 0 in both the cases?while (k < m) k++; - do k++; while (k <= m); |
| A. | m+1, m |
| B. | m+1, m+1 |
| C. | m, m |
| D. | m, m+1 |
| E. | None of these |
| Answer» C. m, m | |