自考c试题附答案Word格式.docx
《自考c试题附答案Word格式.docx》由会员分享,可在线阅读,更多相关《自考c试题附答案Word格式.docx(16页珍藏版)》请在冰豆网上搜索。
Ð
1·
Ö
20·
)
Ú
Á
³
ö
Ä
Ë
¸
±
Ó
Ê
Ç
·
û
º
ª
ë
½
«
Æ
ä
ú
Â
À
¨
Å
í
¶
à
ò
Î
ù
Þ
1£
®
C++Ó
ï
Í
CÓ
¼
æ
È
Ý
è
Õ
ý
£
©
A£
C++¼
CB£
C++²
C
C£
CD£
C¼
C++
2£
C++Ö
÷
ø
cerrB£
cin
coutD£
cfile
3£
Ø
ü
×
newË
Ù
¯
freeB£
create
deleteD£
realse
4£
ç
private¹
å
É
privateB£
public
protectedD£
friend
5£
B£
D£
6£
°
7£
intmax(int£
int)·
ô
22£
59£
70È
ß
intm=max(22£
max(59£
70))£
intm=max(max(22£
59)£
70)£
intm=max(59£
max(22£
8£
¤
9£
intFunc(int£
int)£
int£
doubleFunc(int£
doubleFunc(double£
double)£
10£
B£
é
D£
11£
¦
12£
ì
Ü
13£
0¸
1¸
14£
thisÖ
15£
16£
ê
#includeB£
#define
#ifD£
#else
17£
A½
AÀ
18£
19£
20£
protected³
publicº
protected
protectedº
privateD£
þ
ð
21£
myFileÓ
f£
myText.txtÏ
__________¡
ostreamÀ
________¡
23£
ã
[]Ö
________Ô
24£
25£
vectorÀ
26£
20¸
charµ
E£
t¡
27£
________º
28£
29£
________Ö
30£
AÓ
voidFun(void)£
pafnÀ
Fun£
31£
Point*ptr=newPoint[2]£
ptrÖ
32£
Privateµ
33£
intA:
:
fun(doublex){return(int)x£
}
fun(intx){returnx*2£
aÎ
Aµ
ints=a£
fun(6.0)+a.fun
(2)£
sµ
34£
3²
35£
36£
stringÀ
find³
findº
37£
38£
inta=29£
b=100£
cout<
<
setw(3)<
a<
b<
endl£
á
39£
Hex£
hex<
255£
40£
5Ð
2·
10·
41£
#include<
iostream£
h