What is “a” in the given C code? [code]size_t wcstombs(char *s, const wchar_t *a, size_t n)[/code]

What is “a” in the given C code?
Code:
size_t wcstombs(char *s, const wchar_t *a, size_t n)
A. “a” is wide character string to be converted
B. “a” is pointer to an array of char elements
C. “a” is pointer to the first byte of a multi-byte character
D. “a” C multibyte character string to be interpreted
 
Answer: a
Explanation: The wcstombs() function is used to convert a sequence of codes that correspond to multibyte characters from the array pointed to by ‘a’ into a sequence of multibyte characters beginning in the initial shift state and stores these multibyte characters into the array pointed to by s.
Code:
size_t wcstombs(char *s, const wchar_t *a, size_t n)
 

Tìm kiếm

Back
Top