...
The C Standard recognizes wchar_t[] and char[] as distinct types. As a result, many compilers will yield produce a warning if the inappropriate function is used. For example, the following warnings were generated when the second noncompliant example was compiled with no flags in GCC on a Linux i686 platform:
...