测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

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

单选题 较难

题目描述

以下程序的运行结果是(    )

#include<stdio.h>

void main()

{

int a[10]={1,2,3,4,5,6,7,8,9,10},*p=&a[5],*q=p+2;

    printf("%d\n",*p+*q);

}

选项(单选)

上一题 下一题