MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following iterative implementation to find the length of the string: Which of the following lines should be inserted to complete the above code? |
| A. | s[len-1] != 0 |
| B. | s[len+1] != 0 |
| C. | s[len] != ‘\0’ |
| D. | s[len] == ‘\0’View Answer |
| Answer» D. s[len] == ‘\0’View Answer | |