单项选择题
A.if(x==0.0)orif(x!=0.0)
B.if(x>=0.0)
C.if(x<=0.0)
D.constfloatEPSINON=0.00001;if((x>=-EPSINON)&&(x<=EPSINON)
单项选择题 如下程序classC1{C1(int);};classC2{C2(int);}classC:publicbase{C1att1;//C1isnotderivedfrombaseC2att2;//C2isnotderivedfrombasepublicC(int):att2(1),att1(2){…….}构造函数的调用顺序是:()
单项选择题 如下程序用来计算关键字的个数#definePACKAGE_LEN10#defineKEY_WORD0xcdunsignedinttemp=0;char*buffer=newchar[PACKAGE_LEN];//here,assumptionthatthereisfunctiontoinitializebufferdatafor(unsignedinti=0;i<PACKAGE_LEN;i++){if(KEY_WORD!=buffer[i]){temp++;}}则temp变量可能的最大值是:()
单项选择题 在VC环境中,如下定义inta[2]={1};则正确的结果是:()