mblen() function returns 0,if a null wide character was recognized. It returns -1 if an invalid multi-byte sequence was encountered.
mblen() function returns 0,if a null wide character was recognized. It returns -1 if an invalid multi-byte sequence was encountered. Correct Answer true
int mblen(const char *a, size-t n); If in the given code “a” points to a NULL character then the function returns 0 or -1 is returned if they do not form a valid multibyte character.
মোঃ আরিফুল ইসলাম
Feb 20, 2025