计算机二级 2021_10_06 每日一练
请教:2016年计算机二级C++基础练习三填空题10如何解答?
下面程序的输出结果是【】。
#include
void main()
{
int a[6]={1,2,3,4,5,6};
for(int i=0;i <5;i++)
cout <<
cout <
}
在窗体上画一个名称为Commandl的命令按钮,然后编写如下程序: Private Sub Command1_Click() Static X As Integer Static Y As Integer Cls Y = 1 Y = Y + 5 X = 5 + X Print X, Y End Sub 程序运行时,三次单击命令按钮Commandl后,窗体上显示的结果为
A.15 16
B.15 6
C.15 15
D.5 6