Which among the given options compares atmost n characters of string ch to string s?

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)
 

Tìm kiếm

Back
Top