[单选题]include<stdio.h> int a[]={2,4,6,8}; main(    ) { int i,b[4]; int *p=a; for(i=0;i<4;i++) {b[i]=*p;p++;} printf(""%d\n"",b[2]); } 该程序的输出结果为
竞赛题库
|
2023-10-27 16:23:36
|
22
[单选题]include<stdio.h> int a[]={2,4,6,8}; main(    ) { int i,b[4]; int *p=a; for(i=0;i<4;i++) {b[i]=*p;p++;} printf(""%d\n"",b[2]); } 该程序的输出结果为

A.2        
B.4        
C.6        
D.8
查看答案

西南科技大学

Python程序设计

您可能感兴趣的试题
TOP