3 like 0 dislike
221 views

在右邊的空白處,寫出 printf 的輸出結果:

int add(int a, int b) { 

     a = a + b;

     printf("a = %d b = %d\n",a , b);      a = $1 , b =  $2      

     return a; 

}

void main(void) {

     int a=5, b=3; b= add(a,b);  

     printf("a = %d b = %d\n",a ,b);       a = $3 , b =  $4      

    }

 

參考書籍:旗標無痛學習教本

[Normal] Fill in the blank - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21855 - Available when: Unlimited - Due to: Unlimited
| 221 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.71.255.21
©2016-2024

Related questions

4 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: 21894 - Available when: Unlimited - Due to: Unlimited
| 212 views
3 like 0 dislike
0 answers
[Normal] Fill in the blank - asked Feb 6, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21856 - Available when: Unlimited - Due to: Unlimited
| 208 views
3 like 0 dislike
0 answers
[Normal] Fill in the blank - asked Feb 5, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21849 - Available when: Unlimited - Due to: Unlimited
| 227 views
3 like 0 dislike
0 answers
[Normal] Fill in the blank - asked Feb 5, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21841 - Available when: Unlimited - Due to: Unlimited
| 206 views
3 like 0 dislike
0 answers
12,783 questions
183,443 answers
172,219 comments
4,824 users