2 like 0 dislike
char cStr[3][10]= {"Tom","Mary","John"}; char *pc[3] = {"Tom","Mary","John"};,則 cStr 比 pc 同樣再儲存這三個字串時,需要多使用  $1 位元組來儲存。

 

參考書籍:旗標無痛學習教本
[Normal] Fill in the blank - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21888 - Available when: Unlimited - Due to: Unlimited
| 136 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:162.158.78.122
©2016-2022

Related questions

3 like 0 dislike
0 answers
[Normal] Fill in the blank - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21791 - Available when: Unlimited - Due to: Unlimited
| 214 views
3 like 0 dislike
0 answers
3 like 0 dislike
0 answers
[Normal] Fill in the blank - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21790 - Available when: Unlimited - Due to: Unlimited
| 174 views
3 like 0 dislike
0 answers
[Normal] True/False - asked Jan 18, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21787 - Available when: Unlimited - Due to: Unlimited
| 145 views
3 like 0 dislike
0 answers
[Normal] Fill in the blank - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21907 - Available when: Unlimited - Due to: Unlimited
| 142 views
13,844 questions
209,757 answers
189,808 comments
5,436 users