char *p = (char *)malloc(n);
我把p+1传进函数,那在函数里,是不是p指向char型不是可读,p+1...p+n-1指向 ...
lilikoo 发表于 2010-10-09 22:14
char *p = (char *)malloc(n);
我把p+1传进函数,那在函数里,是不是p指向char型不是可读,p+1...p+n-1指向 ...
lilikoo 发表于 2010-10-09 22:14
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |