1. 程式人生 > 其它 >c風格字串

c風格字串

技術標籤:C++

char dog[8]={'b','e','a','u','x',' ','I','I'};  //not a string
char dog[8]={'b','e','a','u','x',' ','I','\0'};  //a string