运行下列程序后,输出结果是()
f(int m,int n)
{return(m+=m-n);)
main()
{int k=4,m=1;
printf("%d,",f(k,m));
printf("%d\n",f(k,k-m));
}
A.3,1 B.7,5 C.7,13 D.3,13正确答案B
运行下列程序后,输出结果是()
f(int m,int n)
{return(m+=m-n);)
main()
{int k=4,m=1;
printf("%d,",f(k,m));
printf("%d\n",f(k,k-m));
}
A.3,1 B.7,5 C.7,13 D.3,13正确答案B