字符串輸入與輸出

void test_string() { /* 一、聲明字符串 數組word是常量; 指針wd是變量; 因此,只有指針能進行遞增操做!!! */ char word[] = "We are here today!"; char *wd = "Where are you now?"; int i = 0; //數組遍歷 while(*(word+i)
相關文章
相關標籤/搜索