字符串的输入和字符的输入 字符串的定义方式有两种: 数组定义 char name[]="hahahaha"; 指针定义 char *name-"hahahaha"; 字符的定义方式 char name='a';