#includeintfun1(inta,intb,intc);intmain(){inta=11,b=21,c=31;fun1(a,b,c);printf("%d%d%d",a,b,c);return0;}intfun1(inta,intb,intc){a=a+10;b=b+10;c=c+10;returnc;}
A: 112131
B: 211131
C: 113121
D: 312111
A: 112131
B: 211131
C: 113121
D: 312111
举一反三
- 以下程序的运行结果是()#include<stdio.h>intfun(inta,intb,intc){c=a*b;}intmain(){intc;fun(2,3,c);printf("%d\n",c);return0;}
- 有以下程序#includeintfun(inta,intb,intc){c=a*b;}main(){intc;fun(2,3,c);printf("%d\n",c);}(2.0分)
- 以下程序运行结果______。#include<stdio.h>inta=3,b=5;intmax(inta,intb){intc;c=a>b?a:b;return(c);}intmain(){inta=8;printf("max=%d",max(a,b));}
- 下列程序段输出结果是fun(inta,intb,intc)
- 下面程序的输出结果为().fun(inta,intb){intc;c=a+b;r...);printf("%d\n",r);}