有以下程序:
#include <stdio.h>
main( )
int a[]=1,2,3,4,5,6,7,8,9,10,11,12,,*p=a+5,*q=NULL;
*q=*(p+5);
printf("%d %d /n",*p,*q);

程序运行后的输出结果是( )。

A:运行后报错 B:66 C:611 D:510

有以下程序
#include<stdio.h>
main( )
int a[]=1,2,3,4,5,6,7,8,9,10,11,12,,*p=a+5,*q=NULL;
*q= *(p+5);
printf("%d %d/n",*p,*q);

程序运行后的输出结果是

A:运行后报错 B:6 6 C:6 11 D:5 10

有以下程序
# include <stdio.h>
main( )
int a[]=1,2,3,4,5,6,7,8,9,10,11,12,,*p=a+5,*q=NULL;
*q=*(p+5);
printf("%d %d /n",*p,*q);

程序运行后的输出结果是

A:运行后报错 B:6 6 C:6 11 D:5 10

有以下程序
#include <stdio.h>
main( )
int a[]=(1,2,3,4,5,6,7,8,9,10,11,12; *P=a+5;
*q=NULL;*q=*(p+5);
printf("%d %d/n", *p, *q);

程序运行后的输出结果是______。

A:运行后报错 B:6 6 C:6 11 D:5 10

有以下程序: #include <stdio.h> main( ) { int a[]={1,2,3,4,5,6,7,8,9,10,11,12,},*p=a+5,*q=NULL; *q=*(p+5); printf("%d %d /n",*p,*q); } 程序运行后的输出结果是( )。

A:运行后报错 B:66 C:611 D:510

有以下程序:   #include <stdio.h>   main( )   {int a[ ]={1,2,3,4,5,6,7,8,9,10,11,12,},*p=a+5,*q=NULL;    *q=*(p+5);    printf("%d %d/n",*p,*q);   }   程序运行后的输出结果是( )。

A:运行后报错 B:6 6 C:6 11 D:5 10

以下程序的运行结果是______。 #include <stdio.h> main( ) {int a[]:{1,2,3,4,5,6,7,8,9,10,11,12): int *p=a+5,*q=NULL: *q=*(p+5): printf("%d %d/n",*p,*q); }

A:运行后报错 B:66 C:612 D:5 5

微信扫码获取答案解析
下载APP查看答案解析