1.

What will be returned in the following C code?

 size- t strlen(const char *s) const char *sc; for(sc = s; *sc!= '   O ' ; ++sc) return(sc - s) ;

A. number of characters equal in sc
B. length of string s
C. doesn t return any value
D. displays string s
Answer» C. doesn t return any value


Discussion

No Comment Found

Related MCQs