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)
The question was posed to me in unit test.
This interesting question is from String Operations topic in section String Operations in C of C