[主观题]#include <conio.h>#include <stdio.h>int fun(int *s, int t, int *k){ int i;*k=0;(15)if(s[*k]<s[i])*k=i;return(16);}main(){int a[10]={ 876,675,896,101,301,401,980,431,451,777},k;clrscr();fun(a, 10, &k);printf("%d, %d\n ", k, a[k]);
[单选题]以下程序输出的结果是#include<stdio.h>#include<string.h>main(){ char w[][10]={"ABCD","EFGH","IJKL","MNOP"},k;for(k=1;k<3;k++) printf("%s/n",&w[k][k]);}A.ABCD FGH KLB.ABC EFG IJ MC.EFG JK 0D.FGH KL
[单选题]以下程序输出的结果是#include<stdio.h>#include<string.h>main(){ char w[][10]={"ABCD","EFGH","IJKL","MNOP"},k;for(k=1;k<3;k++) printf("%s/n",&w[k][k]);}A.ABCD FGH KLB.ABC EFG IJ MC.EFG JK 0D.FGH KL
[单选题]下面程序的输出结果是#include<stdio.h>#include<string.h>main(){ char *p1="abc",*p2="ABC",str[50]= "xyz";strcpy(str+2,strcat(p1,p2));printf("%s/n",str);}A.xyzabcABCB.zabcABCC.xyabcABCD.yzabcABC
[单选题]以下程序的输出结果是#include<stdio.h>struct st{ int x;int *y;}*p;int dt[4]={10,20,30,40};struct st aa[4]={50,&dt[0],60,&dt[0],60,&dt[0],60,&dt[0],};main(){ p=aa;printf("%d/n",++(p->x));}A.10B.11C.51D.60
[单选题]以下程序的输出结果是#include<stdio.h>struct st{ int x;int *y;}*p;int dt[4]={10,20,30,40};struct st aa[4]={50,&dt[0],60,&dt[0],60,&dt[0],60,&dt[0],};main(){ p=aa;printf("%d/n",++(p->x));}A.10B.11C.51D.60
[主观题]以下程序的输出结果是_[13]_______#include <stdio.h>#include <string.h>char *fun(char *t){ char *p=t;return(p+strlen(t)/2);}main(){ char *str="abcdefgh";str=fun(str);puts(str);}
[试题]以下程序的输出结果是_[19]_______#include <stdio.h>#define M 5#define N M+Mmain(){ int k;k=N*N*5; printf("%d/n",k);}
[单选题]以下程序的输出结果是#include <stdio.h>void prt (int *x, int*y, int*z){printf("%d,%d,%d/n",++*x,++*y,*(z++));}main(){int a=10,b=40,c=20;prt (&a,&b,&c);prt (&a,&b,&c);}A.11,42, 31 12,22,41B.11,41,20 12,42,20C.11,21,40 11,21,21D.11
[试题]以下程序的输出结果是( 10 )。#include .<stdio.h>Main( ){ char a,b;for( a=0; a<20; a+=7) { b=a% 10; putchar(b+'0'); }}