Mid(“I am a student.”,9,2)的返回值是什么?()
第1题:
请分析下列程序。 int main() { printf("This is in main program"); if(fork()==0) printf("I am in child process"); else printf("I am in parent process");} 程序正确运行后结果是
A.This is in main program I am in child process I am in parent process
B.This is in main program I am in child process
C.This is in main program I am in parent process
D.This is in main program I am in child process This is in main program I am in parent process
第2题:
对于如下C语言程序 int main() { pid_t pid; int x=1; pid = fork(); if(pid==0) printf("I am the child process, x=%d\n", ++x); else printf("I am the parent process, x=%d\n", --x); } 在UNIX操作系统中正确编译链接后,其正确的运行结果是
A.I am the child process, x=2
B.I am the parent process, x=0
C.I am the parent process, x=2
D.I am the child process, x=0
第3题:
A、I’d love to, but I am busy tonight
B、No, you can’t
C、Yes, but I am busy
D、I don’t know
第4题:
我是一名水手,在船上干二水。
A.I am a sailor. I work as an OS on board
B.I am an AB I work as a sailor.
C.I am a sailor. I work as a quartermaster.
D.I am an AB I work as an oiler.
第5题:
A:I am from England.
B: ( ).
A. So am I
B. So do I
C. So have I
第6题:
4.—Are you her uncle?
—_________
A.I’m not
B. Yes, I am not
C. No, I am
D. No, I am not
第7题:
A:What do you do?
B: ( ).
A. I am washing the dishes now
B. I am a policeman
C. I do my homework
第8题:
Which of the following is closest in meaning with the sentence: "I am feeling black"?
A. I am sad.
B. I am feeling well.
C. I am dirty.
D. I am very tired.
38.答案为A 通过第二段...black is depressing可知黑色使人阴郁。
第9题:
- Mary, I am calling to tell you that I got the highest scores in the mid-term exam.
- _________.
A、Good luck.
B、Really?
C、That's all right.
D、Congratulations.
第10题:
设有如下程序: Private Sub Form. Click( ) Cls a$="1234j6" For i=1 To 6 Print Tab(12-i);________ Next i End Sub 程序运行后,单击窗体,要求结果如图所示,则在______处填入的内容为( )。
A.Left(a$,i)
B.Mid(a$,8-i,i)
C.Right(a$,i)
D.Mid(a$,7,i)