有以下程序 include main() {int a[]={1,2,3,4,5,6,7,8,9,10,11,12,},*p=a+5,*q=N 有以下程序#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 6C.6 11D.5 10

有以下程序 include main() {int a[]={1,2,3,4,5,6,7,8,9,10,11,12,},*p=a+5,*q=N

有以下程序

#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


相关考题:

有以下程序includemain(){int a[]={1,2,3,4,5,6,7,8,9,10,11,12,},*p=a+5,*q=NULL; *q 有以下程序 #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 6C.6 11D.5 10

有以下程序:includemain(){int a[]={1,2,3,4,5,6,7,8,9,10,11,12,},*p=a+5,*q=NULL;*q 有以下程序: #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.66C.611D.510

以下程序的运行结果是_______。 #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.6 6C.6 12D.5 5

有以下程序:include main( ) {int a[]={1,2,3,4,5,6,7,8,9,10,11,12,},*p=a+5,*q=NUL 有以下程序:#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 6C.6 11D.5 10

有以下程序: includemain(){ int a[]={1,2,3,4,5,6,7,8,9,10,11,12}, *p=a+5, *q=NULL 有以下程序: # 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 6C.6 11D.5 10

有以下程序:includemain(){int.a[]={1,2,3,4,5,6,7,8,9,10,11,12,},*p=a+5,*q=NULL;*q 有以下程序: #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 6C.6 11D.5 10

有以下程序 include main() { int a[]={1,2,3,4,5,6,7,8,9,10,11,12},*p=a+5,*q=NULL 有以下程序 #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 6C.6 11D.5 10

以下程序的运行结果是()。includemain(){int a[]={1,2,3,4,5,6,7,8,9,10,11,12}; int * 以下程序的运行结果是( )。 #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=8(p+5); printf("%d %d\n", *p,*q); }A.运行后报错B.6 6C.6 11D.5 5

有以下程序includemain(){inta[]={1,2,3,4,5,6,7,8,9,10,11,12,},*p=a+5,*q=NULL; *q= 有以下程序 # 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 6C.6 11D.5 10