A.只有控股股东李某可以向法院请求解散公司
B.只有李某、赵某可以向法院请求解散公司
C.李某、赵某和刘某中任何一人都可向法院请求解散公司
D.不应解散公司,而应通过收购股权等方式解决问题
第1题
若有以下变量和函数说明: #include<iostream.h> charCh='*'; void sub(int x,int y,char ch,double*Z) { switch(ch) { case'+':*Z=x+y;break; case'-':*Z=x-y;break: case'*':*Z=x*y;break; case'/':*z=x/y;break: } } 以下合法的函数调用语句是()。
A.sub(10,20,Ch,y);
B.sub(1.2+3,2*2,'+',&Z);
C.sub(sub(1,2,'+',&y),sub(3,4'+',&x),'-',&y);
D.sub(a,b,&x,ch);
第2题
有如下程序 #include<iostream.h> void main() { charch [2][5]={"6937","8254"},*p[2]; int i,j,s=0; for(i=0;i<2;i++)p[i]=ch[i]; for(i=0;<2;i++) for(j=0;p[i][j]>‘\0’;j+=2) s=10*s+p[i][j]-’0’; cout<<s;} 该程序的输出结果是
A.69825
B.63825
C.6385
D.693825
第3题
以下程序的输出结果是【 】。
include<iostream.h>
include <string.h>
void main 0 {
char s[50];
strcpy(&s[O], "No" );
strcpy(&s[1], "123" );
strcpy (&s[2], "23456" );
cout<<s;
}
第4题
以下程序运行后的输出结果是【 】。
include<iostream.h>
void main(){
char s[]=“123456”,*p;
for(p=s; p<s+2; p++)
cout<<p<<end1;
}
第5题
执行下面的程序段后,变量k中的值为 #include<iostream.h> void main() { int k=3, s[2]; s[0]=k; k=s[1] *10; cout < < k;}
A.不定值
B.33
C.30
D.10
第6题
有以下程序 #include<iostream.h> void ss(char*s,char t) { while(*s) { if(*S==t)*s=t-'a'+'A'; s++;} } void main() { char strl[100]="abcddfefdbd",c='d': ss(strl,c) ;cout<<strl;} 程序运行后的输出结果是
A.ABCDDEfEBD
B.abcDDfefDbD
C.abcAAfefALbA
D.Abcddfefdbd
第7题
include<iostream.h>
void main()
{
int n;
cin>>n;
cin.get();
char s[n];
cin.getline(s,n);
cout<<s<<endl;
delete s;
}
第8题
下面程序的输出结果为【 】。
inclUde<iostream.h>
void main()
{
int a;
int &b=a;//变量引用
b=10;
cout<<"a="<<a<<endl;
}
第9题
若运行时给变量x输入12,则以下程序的运行结果是 #include<iostream.h> void main() { int x,y; cin > > x; y=x > 12? x+lO:x-12; cout < < y; cout < < end1; }
A.0
B.22
C.12
D.10
第10题
以下程序中调用 cin 函数给变量a输入数值的方法是错误的,其错误原因是 #include<iostream.h> void main() {int *p,* q,a,b; p=&a; cout<<"input a:"; cin>>p; }
A.*p表示的是指针变量p的地址
B.p表示的是变量a的地址,而不是变量a的值
C.*p表示的是指针变量p的值
D.*p只能用来说明p是一个指针变量
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!