Which of the following is NOT mentioned as one of the advantages of Poetry Daily?
A.It is convenient to the readers.
B.It provides much more shelf space for poetry.
C.It enables readers to browse more freely.
D.It helps promote poetry magazines and journals.
第1题
下列程序的输出结果是________。#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;>
第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; 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
第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 &qetVar(int *pint)
{
renurn *pint;
}
int main ()
{
int a =10;
getVar(&a) = 20;
cout<<a<<end1;
return 0; }
第6题
下列程序的输出结果是【 】。
inClude<iostream>
using namespace std;
int main()
{
int i=5;
int &r=i;r=7;
cout<<i<<endl;
return0;
}
第7题
下列程序的输出结果是【 】。
include<iostream>
using namespace std;
int main(){
int i=3;
int &r=i; r=5;
cout<<i<<endl;
return 0;
}
第8题
下列程序的输出结果是【 】
include<iostream>
using namespace std;
int main()
{
int num=500;
int &ref=num;
ref +=100;
cout<<num<<end1;
return 0;
}
第9题
下列程序的输出结果是【 】
include<iostream>
using namespace std;
int main()
{
int Bum=500;
int& ref=num;
ref+=100;
cout<<num<<end1;
return 0;
}
第10题
运行程序,程序输出结果是(). #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;>
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!