Which of the following sentences is true according to the memos?
A.The situation of sending and receiving mails in Synjones Corporation was not in a good order in the previous period.
B.Melissa Witt ask all the staff to address the memo to the person(s) who will take action on the subject and those who need to know about the action.
C.Only the Synjones Corporation is located in the building referred in the first memo.
D.When composing a memo, the stuff should clearly state the purpose of the memo only in the subject line.
第1题
正确定义无符号整型变量m的语句是()
A.int m;
B.unsigned int m;
C.signed int m;
D.unsigned signed m;
第2题
正确定义无符号整型变量m的语句是()
A.int m;
B.unsigned int m;
C.signed int m;
D.unsigned signed m;
第3题
下列函数原型声明中,错误的是
A.int function(int m,int n);
B.int function(int,int);
C.int function(int m=3,int n);
D.int function(int&m,int&n);
第4题
已知下列函数定义 setw(int *b,int m,int n,int dat) { int k; for(k=0;k<m*n,k++) { *b=dat;b++;} } 则调用此函数的正确写法是(假设变量a的说明为int a[50])()
A.setw(*a,5,8,1);
B.setw(&a,5,8,1);
C.setw((int*)a,5,8,1);
D.setw(a,5,8,1);
第5题
已知int k=10,m=3,n;则下列语句输出结果是printf("%d\n",n=(k%m,k/m));
A.2
B.3
C.4
D.5
第6题
当k的值不为0时,在下列选项中能够将k的值赋给变量m,n的是
A.m=k=n
B.(m=k)&&(n=k)
C.(m=k)||(n=k)
D.(k=m)&&(n=k)
第7题
有如下类声明: class MyBASE{ int k; public: void set(iht n){k=n;} int get()coast{return k;} }; class MyDERIVED:pnoted My BASE { protected: int j; public: void set(int m,int n){MyBASE::set(m);j=n;} int get()const{return MyBASE::get()+j;} }; 则类MyDERIVED中保护的数据成员和成员函数的个数是
A.4
B.3
C.2
D.1
第8题
A、4
B、3
C、2
D、1
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!