期中考选择题(Midterm exam questions).docVIP

  • 1
  • 0
  • 约7.7千字
  • 约 13页
  • 2017-10-07 发布于河南
  • 举报
期中考选择题(Midterm exam questions)

期中考选择题(Midterm exam questions) Close the window midterm test answer.Doc The following is a text preview of the document. The preview is for you to view quickly, but you may lose some formatting or pictures. Print | HTML view | Download A choice (40 items, each of 2 points, a total of 80 points) 1. in the C language source, the following statement is correct (C). A) the main function must be at the beginning of the file B) only one statement per line C) a statement in a program can be written in a multi line D) at the end of each statement must have a point 2. on the C language source code, the error is (C). A) the source of the C language consists of functions B) the main function can be written after the custom function C) must contain input statements D) one line can write multiple statements 3. in the following narrative about the C language, the error is (B). (A) if a statement is longer, it can also be written on the next line B) the basic unit that makes up the C language source program is the expression (C) C language source program, large and lowercase letters are different D) a C language source that can be composed of one or more functions The location of the main function in the 4.C program (C). A) must start at B) must be behind the system library function C) D can be followed by the custom function) in the end The body of the 5.C language is enclosed by (B). A) () B) {} C [D] * / / *)) 6. in the narrative of the C language, what is incorrect is (D). A) C programs can be composed of one or more functions B) the C program must contain a main () function C) the basic unit of a C program is a function D) the annotation declaration can only be placed behind a statement 7., the execution of a program is from (B). A) the first function of this program starts with the end of the last function B) the main function of this program starts with the end of the main function C) the main function of this program starts with the end of the last function D) the first fu

文档评论(0)

1亿VIP精品文档

相关文档