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

A48358. 阅读下面的程序:#include<stdio.h>void main(){int m=10,n=20,t=30;++m;t+=++n;{int n=10,t;t=n*2;m+=t;printf("%d,%d,%d\n",m,n,t); }printf("%d,%d,%d\n",m,n,t); }程序的输出结果是( )

单选题 较难

题目描述

阅读下面的程序:

#include<stdio.h>

void main()

{

int m=10,n=20,t=30;

++m;

t+=++n;

{

int n=10,t;

t=n*2;

m+=t;

printf("%d,%d,%d\n",m,n,t); 

}

printf("%d,%d,%d\n",m,n,t); 

}

程序的输出结果是(    )

选项(单选)

上一题 下一题