A.大脑中连接神经
B.1万亿个神经细胞
C.突触
D.CPEB合成的蛋白质
第1题
以下程序的输出结果是 。 #include <iostream> #include <iomanip> using namespace std; void main() { int i; for (i=1;i>=0;) cout< <i--;>
第2题
以下程序的输出结果是【 】。
include <iostream>
using namespace std;
int main()
{
char S[ ]="abcdef";
s[3]='\0';
cout<<s<<end1;
return 0;
}
第3题
定义以下结构体类型,运行程序的输出结果是()。 #include <iostream> using namespace std; int main() { struct s{int a;double b;}; cout< <sizeof(s)> < <endl; return 0;> A、12
B、14
C、16
D、18
第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>
include <fstream>
using namespace std;
int main ()
{
char s[25];
ofstream fl("data.txt");
f1<<"C++ Programming";
f1.close ();
ifstream f2 ("data.txt");
第6题
下列程序的输出结果是【 】。
include<iostream>
include<cstring>
using namespace std;
void fun(const char *s,char &c){c=s[strlen(s)/2];}
int main()
{
char str[]="ABCDE";
char ch=str[1];
fun(str,ch);
cout<<ch;
return 0;
}
第7题
以下程序的输出结果是 #include<iostream> using nameSpace std; int main() { cout.fill('*'); cout.width(5); cout<<hex<<100<<end1; return 0; }
A.**100
B.***64
C.100**
D.64***
第8题
下面程序的输出结果是()。 #include <iostream> using namespace Std; int main() { int x[6]={1,3,5,7,9,11},*k,**s; k=x; s=&k; cout<<*(k++)<< “,”<<**s<<end1; return 0; }
A.3,3
B.1,1
C.3,5
D.3,1
第9题
下列程序的输出结果是()。 #include<iostream> using namespace std; int main(){ int x[6]={1,3,5,7,9,11},*k,**s; k=x; s=&k; cout<< *(k++) <<"," << **s<<endl; return 0; }
A.3,3
B.1,1
C.3,5
D.1,3
第10题
以下程序的输出结果是()。 #include<iostream> using namespace std; void fun(char**q) { ++q; cout<<*q<<end1; } main() { static char*s[]={"HI","HELL0","TEST"}; char**p; p=s; fun(p); system("PAUSE"); return 0; }
A.为空
B.HI
C.HELL0
D.TEST
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!