摘要: 1 #include <stdio.h> #include <string.h> int main() { char* p1 = "12345", * p2 = p1; //允许! char* p3, p4[80]; //strcpy(p3,p1); 此时p3为野指针! p3 = "12345"; 阅读全文
posted @ 2024-11-25 21:24 某朝 阅读(20) 评论(0) 推荐(0)