3 like 0 dislike

在右邊的空白處,寫出 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)
Available when: Unlimited - Due to: Unlimited
| 62 views
Get it on Google Play Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:162.158.78.232
©2016-2020

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)
Available when: Unlimited - Due to: Unlimited
| 35 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)
Available when: Unlimited - Due to: Unlimited
| 47 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)
Available when: Unlimited - Due to: Unlimited
| 42 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)
Available when: Unlimited - Due to: Unlimited
| 58 views
3 like 0 dislike
0 answers
10,553 questions
115,697 answers
103,526 comments
3,772 users