Which among the given options compares atmost n characters of string ch to string s?
Posted: Wed Jul 13, 2022 7:55 pm
a) int strncmp(ch, s, n)
b) int strcmp(ch, s)
c) int strncmp(s, ch, n)
d) int strcmp(s, ch)
b) int strcmp(ch, s)
c) int strncmp(s, ch, n)
d) int strcmp(s, ch)