Ⅰ c語言中如何定義字元串
可以用數組或指針
數組:
char s[80]="abcd";或者char s[80]={"abcd"}; /*說明:自動加字元串結束標志: */
char s[80]={"a","b","c","d","