举一反三
- 有以下程序[br][/br]Int change(int* data){[br][/br] return (*data) ++;[br][/br]}[br][/br]Main() {[br][/br] int data = 123;[br][/br] change(&data);[br][/br] printf("%d,", data);[br][/br] data = change(&data);[br][/br] printf("%d,", data); printf("\n");}[br][/br]程序运行后的输出结果是 A: 124,124, B: 123,124, C: 124,123, D: 123,123,
- 设有定义:[br][/br]struct complex[br][/br]{ int real,unreal;} data 1={1,8},data 2;[br][/br]则以下赋值语句中错误的是( )。 A: data 2=data1; B: data 2={2,6}; C: data 2.real=data 1.real; D: data 2.real=data1 .unreal;
- 有如下类定义和变量定义:[br][/br]class A{[br][/br]publie:[br][/br]A(){data=0;}[br][/br]~A(){}[br][/br]int GetData ( ) const { return data;}[br][/br]void SetData(int n) {data=n;}[br][/br]private:[br][/br]int data;[br][/br]};[br][/br]const A a;[br][/br]A b;[br][/br]下列函数调用中错误的是 。 A: a .GetData(); B: a .SetData(10); C: .GetData(); D: .SetData(10);
- 类和变量的定义如下: class A{ <br/>public: A(){data=0;}<br/>~A(){}<br/>int GetData() const { return data;}<br/>void SetData(int n) {data=n;}<br/>private: int data;<br/>};<br/>const A a; A b; 则下列函数调用错误的是()。 A: a .GetData(); B: a<br/>.SetData(10); C: b .GetData(); D: b<br/>.SetData(10);
- What is the primary difference between data and information?() A: Information<br/>is processed to get data. B: Data<br/>is processed to get information. C: Data,<br/>unlike information, is related to hardware. D: Data<br/>is stored, information is not.
内容
- 0
The<br/>education level(primary school/middle school/high school/ college or<br/>above) of workers in an elementary school is a() A: Ordinal<br/>Variable B: Numerical<br/>discrete data C: Numerical<br/>continuous data D: Nominal<br/>data E: None<br/>of these
- 1
(38)若有以下说明和定义[br][/br]{[br][/br]union dt[br][/br]{int a;charb;doublec;}data;[br][/br]以下叙述中错误的是______。[br][/br]} A: data的每个成员起始地址都相同 B: 变量data所占的内存字节数与成员c所占字节数相等 C: 程序段:data.a=5;printf("%f\n",data.c);输出结果为5.000000 D: data可以作为函数的实参
- 2
要向当前文件夹下的二进制文件"data"中写数据,打开文件语句应为[br][/br] fp=fopen("data", _______ );
- 3
Which of the following services is not provided by TCP? () A: Delay<br/>guarantees and bandwidth guarantees B: Reliable<br/>data transfers and flow controls C: Congestion<br/>controls D: In-order<br/>data transfers
- 4
想要寻找网页中所有标签名为div,类名为title的标签,下列选项中正确的是() A: data =<br/>soup.find_all(name="title", class="div") B: data =<br/>soup.find_all(name="title", class_="div") C: data =<br/>soup.find_all(name="div", class="title") D: data =<br/>soup.find_all(name="div", class_="title")