C语言 字符串复习?

字符串的声明

使用char数组

char a[n];

使用char指针

char *a;

使用宏定义

#define a "hello world"

字符串I/O

string input

使用scanf()函数

评论

暂无评论