1.

The mbstowcs() function is used to return the number of array elements modified, not including a terminating zero code, if any.(a) true(b) falseThe question was asked in final exam.The origin of the question is General Utilities topic in division C Library of C

Answer»

Right answer is (a) true

The EXPLANATION: mbstowcs() function RETURNS the number of array elements that are modified. It does not return a terminating zero code if any. The mbstowcs() function is used to convert a SEQUENCE of MULTIBYTE characters that begins in the initial SHIFT state from the array pointed to by, into a sequence of corresponding codes.



Discussion

No Comment Found

Related InterviewSolutions