【单选题】#include using namespace std; int main(){ int a[6]={27,57,20.42,56.18}; int s1,s2; s1=s2=a[0]; for(int* p=a+1;p-a*p?*p:s1; s2=s2<*p?*p:s2; } cout<
【简答题】下列程序段的输出是____。 # include int f(int m) { static int k=0; int s=0; for(; k<=m; k++) s++; return s; } int main( ) { int s1, s2; s1=f(5); s2=f(3); printf("%d %d\n", s1, s2); return 0; }