MCQOPTIONS
Saved Bookmarks
| 1. |
Which among the given options compares atmost n characters of string ch to string s? |
| A. | int strncmp(ch, s, n) |
| B. | int strcmp(ch, s) |
| C. | int strncmp(s, ch, n) |
| D. | int strcmp(s, ch) |
| Answer» B. int strcmp(ch, s) | |