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
| 84 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:35.172.223.30
©2016-2021

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
| 100 views
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
| 102 views
3 like 0 dislike
0 answers
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
| 96 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
| 80 views
11,982 questions
154,912 answers
156,371 comments
4,246 users