2015年4月12日

strcpy and memcpy

摘要: 1. Inconsist length.char a3[2];char *a = "Itis "strcpy(a3, a); It is wrong. a3 will be correct, but a is missing. memcpy(a3, a, sizeof(char)* 2); It w... 阅读全文

posted @ 2015-04-12 12:08 shoutcharter 阅读(114) 评论(0) 推荐(0) 编辑

导航