有以下程序#include<stdio.h>voidf(int*q){inti=0;for(;i<5;i++)(*q)++;}main{inta[5]={1,2,3,4,5},i;f(a);for(i=0;i<5;i++)printf(%d,,a[i]);}程序运行后的输出结果是()
A. 6, 2, 3, 4, 5,
B. 2, 2, 3, 4, 5,
C. 1, 2, 3, 4, 5,
D. 2, 3, 4, 5, 6
若有定义语句:doublex,y,*px,*py;执行了px=&x;py=&y;之后,正确的输入语句是()
A. scanf(%lf %le, px, py);
B. scanf(%f %f &x, &y);
C. scanf(%f %f, x, y);
D. scanf(%lf %lf,x, y)