首页/ 题库 / [单选题]

1)#include

1)#include
2)using namespace std;
3)int main()
4){
5)int a,b,result;
6)cout<<"please input two numbers: ";
7)cin>>a>>b;
8)result=3*a-2*b+1;
9)cout<<"resultis<><><><>
" << result << endl;
10)} <><><>

程序执行完第5行后,光标在什么位置:()

单选题
2021-12-30 13:19
A、A、Iamastudent.的前面
B、B、Iamastudent.的后面
C、C、Iamastudent.的下一行首列
D、D、不确定
查看答案

正确答案
C

试题解析
当前光标处显示字符I,并将光标后移一个位置;当前光标处显示空格字符,并将光标后移一个位置。重复上述过程,直到显示字符“.”,然后回车换行,光标移到下一行的第一个显示位置。

感兴趣题目
Project selection methods involve measuring value or attractiveness to the project owner or sponsor and may include other organizational decision criteria. ( )is not a project selection method.
RULE III. EXTINGUISHING FIRE ON SHIPBOARD: Damage done to a ship and cargo, or either of them, by water or otherwise, including damage by beaching or scuttling a burning ship, in extinguishing a fire on board the ship, shall be made good as general average; except that no compensation shall be made for damage by smoke or heat however caused. 根据以上条款,不能列入共同海损的是()。
计算机信息高新技术考试结果只能当天考试结束后在线传输。
设程序如下: #include<iostream> using namespace std; int main() { int **p,*q,r=10; q=&r; p=&q; cout<<**p+1<<end1; return 0; } 以上程序的输出结果是( )
Fire prevention during welding or burning aboard any vessel should include ().
Project selection methods involve measuring value or attractiveness to the project owner or sponsor and may include other organizational decision criteria ()is not a project selection method.
Every deliberate act of wrongdoing by the master or any of the crew against the ship or cargo,without the authorization or privity of the Shipowner or his agent,is().
下面程序的输出结果是( )。 #include <iostream> using namespace std; void main( ) { int i=8,*p=0; p = &i; coat<<p; }
下面程序错误的语句是 ①#include < iostream.h> ②void main( 0 ③{ ④ int * p = new int[1] ; ⑤ p =9; ⑥ cout <<*p <<end1; ⑦ delete [ ] p; ⑧ }
下面的程序中,错误的语句是( )。 ①#inClude<iostream.h> ②void main ③{ ④ int *p=new int[1]; ⑧P=9; ⑥cout<<.*P<<endl; ⑦delete[]p; ⑧}
以下程序的输出结果是 #include<iostream.h> void main( ) { char x=040; cout < < (X < < 1) ;}
以下程序的输出结果是 #include<iostream.h> void main() { char x=040; cout<<(x<<1);}
相关题目

Goods are carried by several        of transport--on road or rail, by sea or air.

You can _____ some bottles of wine, or some chocolates, or a bunch of flowers.

A campus emergency ______ occur at any time of the day or night, weekend, or holiday, with little or no warning.

— May I suggest the sales start on or about October 1?

—                      .

2002年新配方口服补液盐(ORS)溶液的张力是

1_____education is the instruction that occurs when the instructor and students are separated by distance or time,or both

1)#include
2)usingnamespacestd;
3)intmain()
4){
5)inta,b,result;
6)cout<<"pleaseinputtwonumbers: ";
7)cin>>a>>b;
8)result=3*a-2*b+1;
9)cout<<"resultis"<<><>
10)} 

程序执行到第8行时,假设此时输入“3,5”再单击回车键,则a的值是:()

1)#include
2)usingnamespacestd;
3)intmain()
4){
5)inta,b,result;
6)cout<<"pleaseinputtwonumbers: ";
7)cin>>a>>b;
8)result=3*a-2*b+1;
9)cout<<"resultis"<<><>
10)} 

程序第8行中有几种操作符:()

1)#include
2)usingnamespacestd;
3)intmain()
4){
5)inta,b,result;
6)cout<<"pleaseinputtwonumbers: ";
7)cin>>a>>b;
8)result=3*a-2*b+1;
9)cout<<"resultis"<<><>
10)} 

若在第7行时输入“4空格3单击回车”,则第9行的输出结果是:()

1)#include
2)using namespace std;
3)int main()
4){
5)int a,b,result;
6)cout<<"please input two numbers: ";
7)cin>>a>>b;
8)result=3*a-2*b+1;
9)cout<<"resultis<><><><>
" << result << endl;
10)} <><><>

程序的入口是第几行:()
P-P间期逐渐缩短直到P波受阻,ORs波群脱落()

1)#include
2)usingnamespacestd;
3)intmain()
4){
5)inta,b,result;
6)cout<<"pleaseinputtwonumbers: ";
7)cin>>a>>b;
8)result=3*a-2*b+1;
9)cout<<"resultis"<<><>
10)} 

程序执行第10行时,系统回收几个变量的内存空间:()

1)#include
2)usingnamespacestd;
3)intmain()
4){
5)inta,b,result;
6)cout<<"pleaseinputtwonumbers: ";
7)cin>>a>>b;
8)result=3*a-2*b+1;
9)cout<<"resultis"<<><>
10)} 

第3行的main()函数返回值的类型是:()

PDM includes four types of dependencies or precedence relationships:().The completion ofthe successor activity depends upon the initiation of the predecessor activity.

1)#include
2)using namespace std;
3)int main()
4){
5)int a,b,result;
6)cout<<"please input two numbers: ";
7)cin>>a>>b;
8)result=3*a-2*b+1;
9)cout<<"resultis<><><><>
" << result << endl;
10)} <><><>

程序执行完第5行后,光标在什么位置:()

1)#include
2)using namespace std;
3)int main()
4){
5)int a,b,result;
6)cout<<"please input two numbers: ";
7)cin>>a>>b;
8)result=3*a-2*b+1;
9)cout<<"resultis<><><><>
" << result << endl;
10)} <><><>

程序第5行中,” ”的含义是:()
The desirable properties or a marine fuel oil should include_______.
表达式1+32>1 Or 6 Mod 4<3 And Not 1的运算结果是( )。

已知AX=0BBCCH,CF=1,以下三条指令执行后,AX中内容是:()
OR AX,3
CLC
RCL AX,1

Project selection methods involve measuring value or attractiveness to the project owner or sponsor and may include other organizational decision criteria ()is not a project selection method.

广告位招租WX:84302438

免费的网站请分享给朋友吧