1.

The number of bytes contained in the multibyte character pointed to by a character is ___________(a) getenv()(b) bsearch()(c) mblen()(d) qsort()This question was addressed to me at a job interview.Enquiry is from General Utilities in portion C Library of C

Answer»

Correct answer is (c) mblen()

To explain I would say: int mblen(const char *s, size-t n);

If s is not a NULL pointer, the mblen() FUNCTION is USED to determine the number of BYTES contained in the multibyte character POINTED to by s.



Discussion

No Comment Found

Related InterviewSolutions