![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[单选题]
以下程序输出的结果是()。#include<stdio.h>main(){inta=5,b=4,c=6,d;printf(“%d,d=a>b?(a>c?a:c):b);}
A.5
B.4
C.6
D.不确定
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.5
B.4
C.6
D.不确定
A.86420
B.975311
C.97531
D.864200
以下程序#include "stdio、h"main(){ char *p="ABCDEF",*q;q=p+3;printf("%s/n",q);}的输出结果是()。
下面程序段的输出结果是_____。
chars[8]="ABCD",*p=s;
*++p='E';
printf("%s",p);
A.true
B.false
C.1
D.0
A.Hello
B.Hi
C.HiHello
D.Hi Hello
A.1
B.1,-2
C.30
D.是死循环
A.123451234
B.1234512345
C.1234554321
D.123455432
A.输出lisa
B.输出null
C.输出name
D.编译失败,无法从静态上下文中引用非静态变量name
A.d://abc
B.//mydata.txt
C.d://abc//mydata.txt
D.d:/abc/mydata.txt
A.10,20,30,40
B.20,10,40,30
C.40,30,20,10
D.30,40,10,20