char数组咋赋值用scanf
c吧
全部回复
仅看楼主
level 1
鲍狄埃南
楼主
2017年02月05日 13点02分
1
level 8
雨林俊木
char c【10】;scanf(“%s”,c);
2017年02月05日 13点02分
2
level 8
TheLastKeyXH
用gets()函数,可以读取字符数组。而且不会在后面遗留换行符。
2017年02月11日 23点02分
5
TheLastKeyXH
括号里放你要被存储的字符数组名,是数组名啊!
2017年02月11日 23点02分
level 1
教育的小能手
你好,专接本看私信
2021年03月03日 14点03分
10
1