现有如下程序段 #includestdio.h int*fun(int*a int*b) {intc; c=*a%*b; return
程序,结果
已帮助 人
现有如下程序段
#include "stdio.h"
int *fun(int *a,int *b)
{int c;
c=*a%*b;
return &c;}
main()
{int a=5,b=19,*c;
c=fun(&a,&b);
printf("%d\n",++*c);}
则程序段执行后的结果为
A.8
B.7
C.6
D.5
请帮忙给出正确答案和分析,谢谢!
