char p3[7] = "String"; is the correct declaration ('\0' is the terminating character in c strings). http://c-faq.com/~scs/cclass/notes/sx8.html. ... <看更多>
Search
Search
char p3[7] = "String"; is the correct declaration ('\0' is the terminating character in c strings). http://c-faq.com/~scs/cclass/notes/sx8.html. ... <看更多>
In C (and you've tagged this as C), that's pretty much the only way to ... In the first case, the declaration of string is incomplete because no array size ... ... <看更多>