#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
What is the purpose of the given C code?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the purpose of the given C code?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!