题目
阅读下面程序importjavax.swing.JOptionPane;publicclassBreakLabelTest{publicstaticvoidmain(Stringargs[]){Stringoutput="";stop:{for(introw=1;row<=10;row++){for(intcolumn=1;column<=5;column++){if(row=5)breakstop;output+="*";}output+="\n";}output+="\nLoopsterminatednormally";}JOptionPane.showMessageDiaiog(null,output,"用一个标志测试break语句",JOptionPane.INFORMATION_MESSAGE);System.exit(0);}}程序运行结果是()。
A.窗口中有5行*****
B.窗口中有5行****
C.窗口中有4行*****
D.窗口中有6行*****
第3题
阅读下面程序,则执行后的结果是()。
A.tomeetme
B.tmem
C.oete
D.tome
第5题
阅读下面程序,则程序的执行结果为 【10】 。
#include "stdio.h"
main()
{ int a=10;
fun(a);
printf("%d\n",a);}
fun(int x)
{ x=50;}
第6题
A.aa=I
B.aa=204
C.aa=v
D.aa=156
第9题
阅读下面程序程序运行结果是()。
A.5 6 6
B.5 5 6
C.6 7 7
D.6 6 6
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!