1. [单选题]下列程序的输出结果是()。includeint fun(intx){int a; if(x==0‖x==1)return 3; elsea=
下列程序的输出结果是( )。 #includestdio.h> int fun(intx) { int a; if(x==0‖x==1) return 3; else a=x-fun(x-2); return a; } void main() { printf("%d",fun(7)); }
A. 2
B. 8
C. 9
D. 5
2. [单选题]不允许在记录中出现重复索引值的索引是______。
A. 主索引和候选索引
B. 主索引、候选索引和惟一索引
C. 主索引
D. 主索引、候选索引和普通索引
3. [单选题]下列语句中,输出与众不同的是
A. cout"1."setfill('')"Hello!"endl;
B. cout"1."''"Hello! \n";
C. cout"1. Hello!"endl;
D. cofit"1."setw(7)"Hello!";