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)
ID: 21855 - Available when: Unlimited - Due to: Unlimited
| 97 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

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
| 74 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
| 76 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
| 76 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
| 85 views
3 like 0 dislike
0 answers
11,982 questions
154,912 answers
156,371 comments
4,246 users