What is the purpose of the given C code? [code]#include <stdlib.h> _Mbsave _Mbxtowc = {0}; int (mbtowc) (wchar_t *pwc, const char *a,

What is the purpose of the given C code?
Code:
#include <stdlib.h> 
_Mbsave _Mbxtowc = {0};  
int (mbtowc) (wchar_t *pwc, const char *a, size_t n) 
{
return (-Mbtowc (pwc, s, n, &-Mbxtowc) ) ;
}
A. determine length of next multibyte code
B. translates multibyte character to wide character
C. translate multibyte string to wide char string
D. translate wide character to multibyte string
 

Tìm kiếm

Back
Top