题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2024-06-03 19:24:11

[填空题]下面程序的输出结果为______。
a=4.5
b=-123
c=Len(Str(B) +Str(A))
Msg Box c

更多"下面程序的输出结果为______。 a=4.5 b=-123 c"的相关试题:

[填空题]下面程序的输出结果为______。
a=4.5
b=-123
c=Len(Str(b)+Str(a))
MsgBox c
[填空题]下面程序的输出结果为______。 a=4.5 b=-123 c=Len(Str(b)+Str(a)) MsgBox c
[填空题]下面程序的运行结果为 【15】
x=-2.3
y=125
z=Len(Str$(x)+Str$(Y))
Print z
[填空题]下面程序的运行结果为【16】
x;-2.3
y=125
z=Len(Str$(x)+Str$(y))
Print z
[填空题]下列程序的输出结果为______。 a=4.5 b=-123 c=Len(Str(b)+Str(a) ) MsgBox c
[填空题]下面程序的运行结果为 【11】
x = -2.3
y = 125
z = Len(Str$(x) + Str$(Y))
Print z
[单项选择]下面程序的输出结果是( )。
#include<iostream.h>
#include<string.h>
void main( )

char p1[10],p2[10];
strcpy(p1,"abc");
strcpy(p2,"ABC");
char str[50]="xyz";
strcpy(str+2,strcat(p1,p2));
cout<<str;

A. xyzabcABC
B. zabcABC
C. xyabcABC
D. yzabcABC
[填空题]下面程序的输出结果是 【16】
#include<stdio.h>
main( )
static char a[]="language" ,b[]="program";
char*ptrl=a,*ptr2=b;
int k;
for(k=0;k<7;k++)
if(*(ptrl+k)==*(ptr2+k))
printf("%c",*(ptrl+k));
[单项选择]下面程序执行后的输出结果为( )。
public class fun

public static void main(String args[])

String greets="How are you!";
String s=greets.substring(0,3);
System.out.println(S);


A. How
B. are.
C. you
D. how ate you!
[单项选择]下面程序段的输出结果为______。
public class Test

public static void main(String args[])

booleana, b, C;
a=(3<5);
b= (a==true);
System. out. println( "a= "+a+"b="+b);
c=(b==false);
System. out. println ("b="+b+"c="+c);


A. a=true b=false
B. a=true b=false
C. a=true b=true
D. a=false b=false
[单项选择]下面程序输出的结果是什么 ( ) public class Quiz2 { public static void main(String args[]) { try {throw new MyException( ); }catch(Exception e) { System.out.println("It’s caught!"); }finally{ System.out.println("It’s finally caught!"); } } } class MyExeeption extends Exception{}
A. It’s finally caught!
B. It’s caught!
C. It’s caught!/It’sfinally caught!
D. 无输出
[单项选择]下面程序输出的结果为
#include"iostream.h"
class A

public:
A( )cout<<"CLASSA"<<endl;
~A( )
;
class B:public A

public:
B( )cout<<"CLASSB"<<endl;
~B( )

void main( )

A * p;
p=new B;
B *q;
q=new B;

A. CLASS A
B. CLASS A
C. CLASS A
D. CLASS A
[单项选择]下面程序输出的结果是( )。
#include<iostream>
using namespace std;
int fuc (char *x);
int main( )
cout<<fuc("hello")<<endl;
return 0;

int fuc(char *x)
char *y=x;
while(*y! =’/0’)y++;
return(y-x);

A. 5
B. 6
C. 0
D. 语法错误,不能输出结果

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码