C语言——数组
摘要:
1.字符型数组与字符指针的赋值 const char *pStr = "Hello!"; char aStr[sizeof("Hello!")] = "Hello!"; cout << aStr << "\n" << pStr << endl; cout << strlen(aStr) << "\n 阅读全文
posted @ 2023-11-17 21:37 _燃灯续昼 阅读(8) 评论(0) 推荐(0) 编辑
posted @ 2023-11-17 21:37 _燃灯续昼 阅读(8) 评论(0) 推荐(0) 编辑