7 char src
[12] = "Hello World";
8 char dst
[16] = "***************";
12 #ifndef __SDCC_pdk14 // Lack of memory
14 ASSERT(0 == memcmp(dst
, "Hello**********", 16));
15 strncpy(dst
, src
, 15);
16 ASSERT(0 == memcmp(dst
, "Hello World\0\0\0\0", 16));