使用字符数组和指针实现字符串
使用字符数组实现:
- char str[] = "I am a student.";
- puts(str);
使用字符指针实现:
- char *str = "I am a student.";
- puts(str);
335KB
文件大小:
评论区