期期艾艾qī qī ài ài
期期艾艾qī qī ài ài
相关考题:
以下程序运行后的输出结果【 】。struct NODE{int k;struct NODE *link;};main(){structNODEm[5],*p=m,*q=m+4;int i=0;while(p!=q){p->k=++i;p++;q->k=i++;q-;}q->k=i;for(i=0;i<5;i++)printf("%d",m[i].k);printf("\n");}
若有说明int m[3][4]={3,9,7,8.5},(*q)[4];和赋值语句q=m;,则对数组元素m[i][j](其中0<=i<3,0<=j<4)值的正确引用为( )。A.(q+i)[j]B.*q[i][j]C.*(*q[i]+j)D.*(*(q+i)+j)
若有说明int m[3][4]={3,9,7,8.5},(*q)[4];和赋值语句q=m;,则对数组元素m[i][j](其中O=i3,0=j4)值的正确引用为( )。A)(q i)[j]B)*q[il][j]C)*(*q[i] j)D)*(*(q i) j)
关于O-16160E-Q,I-120E-Q,I-240W-Q说法正确的是()A、O-16160E-Q是室外型MDUB、I-120E-Q,I-240W-Q是室内型FTTHC、I-120E-Q具备WPS功能D、I-240W-Q 提供wifi业务
单选题金融资产价格传导机制理论用符号可表示为 ( )AM↑=i↓=Ps↓=q↑=I↑=Y↑BM↓=i↑=Ps↑=q↓=I↓=Y↓CM↓=i↑=Ps↑=q↓=I↓=Y↓DM↑=i↑=Ps↓=q↓=I↑=Y↑
单选题有以下程序:#include main(){ int x[3][3]={{2},{4},{6}},i,*q=x[0][0]; for(i=0;i { if(i==0) x[i][i+1]=*q+1; else ++q; printf("%d",*q); } printf("");}程序的运行结果是( )。A23B26C33D36
单选题以下选项中,不能对主函数中变量i和j的值进行交换的程序是( )。A#include stdio.hvoid swap(int *p, int *q){ int *t; *t = *p; *p = *q; *q = *t;}main(){ int i=10, j=20,*a=i,*b=j; swap(a,b); printf(i=%d j=%d,i,j);}B#include stdio.hvoid swap(int *p, int *q){ int t; t = *p; *p = *q; *q = t;}main(){ int i=10,j=20,*a=i,*b=j; swap(a,b); printf(i=%d j=%d,i,j);}C#include stdio.h#include stdlib.hvoid swap(int *p, int *q){ int *t; t = (int *)malloc(sizeof(int)); *t = *p; *p = *q; *q = *t; free(t);}main(){ int i=10,j=20; swap(i,j); printf(i=%d j=%d,i,j);}D#include stdio.hvoid swap( int *p, int *q){ int t; t = *p; *p = *q; *q = t;}main(){ int i=10,j=20,*x=i,*y=j; swap(x,y); printf(i=%d j=%d,i,j);}