A.非理性因素有助于提高人的认识能力
B.非理性因素具有诱导作用
C.非理性因素具有解释作用
D.非理性因素具有更大的可靠性
第1题
下面的程序输出的结果是()。 #include <iostream> using namespace std; void main(){ int a=2; int &c=a; a++; cout<<c; }
A.2
B.3
C.4
D.*a
第2题
以下程序的输出结果是 。 #include <iostream> #include <iomanip> using namespace std; void main() { int i; for (i=1;i>=0;) cout< <i--;>
第3题
下列程序的输出结果是________。#include <iostream> using namespace std; int a=5; void fun (int a) { ::a -= --a; cout<<::a<<’\t’<><<’\n’; } int main() { a="5;" for(int i="-5;" fun(a); return 0;>
第4题
以下程序的输出结果是#include <iostream>using namespace std;int main(){ cout.fill('*'); cout.width(5); cous<<hex<<100<<end1; return 0;}
A.**100
B.***64
C.100**
D.64***
第5题
下面程序运行输出的结果是【 】。
include <iostream>
using namespace std;
int main(){
char a[]="Chinese";
a[3]='\0';
cout<<a<<endl;
return 0;
}
第6题
运行程序,程序输出结果是(). #include <iostream> using namespace std; int main() { char str[100]="program",*p=str; str[3]=0; cout<
< <endl; return> A、ogram
B、r
C、o
D、pro
</endl;>
第7题
以下程序的输出结果是【 】。
include <iostream>
using namespace std;
int main()
{
char S[ ]="abcdef";
s[3]='\0';
cout<<s<<end1;
return 0;
}
第8题
执行如下程序后的输出结果是【 】。
include <iostream>
include <fstream>
using namespace std;
int main ()
{
char s[25];
ofstream fl("data.txt");
f1<<"C++ Programming";
f1.close ();
ifstream f2 ("data.txt");
第9题
下列程序的输出结果是【 】
include<iostream>
using namespace std;
int &qetVar(int *pint)
{
renurn *pint;
}
int main ()
{
int a =10;
getVar(&a) = 20;
cout<<a<<end1;
return 0; }
第10题
下列程序的输出结果是()。 #include<iostream> using namespace std; class TestClass{ static int i; public: TestClass(){i++;} ~TestClass(){i--;} static int getVal(){retum i;} }; int TestClass∷i=0; voi
A.111
B.121
C.211
D.221
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!