【单选题】【消耗次数:1】
C语言程序从()开始执行。
程序中第一条可执行语句
程序中第一个函数
程序中的main函数
包含文件中的第一个函数
参考答案:
复制
纠错
相关题目
【判断题】 C语言程序的执行是从程序的第一个函数开始的。
①  正确
②  错误
【单选题】 如果一个函数位于C程序中定义的第一个函数,在该函数体内说明语句后的复合语句中定义了一个变量,则该变量(  )。
①  为全局变量,在本程序文件范围内有效
②  为局部变量,只在该函数内有效
③  为局部变量,只在该复合语句中有效
④  定义无效,为非法变量
【单选题】 C语言程序从main()函数开始执行,所以这个函数要写在
①  程序文件的开始
②  程序文件的最后
③  它所调用的函数的前面
④  程序文件的任何位置
【单选题】 一个C程序的执行是从( )。
①  本程序文件的第一个函数开始,到本程序文件的最后一个函数结束。
②  本程序的main函数开始,到main函数结束。
③  本程序的main函数开始,到本程序文件的最后一个函数结束。
④  本程序文件的第一个函数开始,到本程序main函数结束。
【单选题】 一个C程序的执行是从
①  本程序的main函数开始,到main函数结束
②  本程序文件的第一个函数开始,到本程序文件的最后一个函数结束
③  本程序的main函数开始,到本程序文件的最后一个函数结束
④  本程序文件的第一个函数开始,到本程序main函数结束
【单选题】 在一个程序文件中定义的函数,若要在另一个程序文件中调用,则必须在该文件开始给出相应的( )。
①  原型语句
②  函数头
③  函数体
④  函数类型
【单选题】 在一个程序文件中定义的函数,若要在另一个程序文件中调用,则必须在该文件开始给出相应的( )。
①  原型语句
②  函数头
③  函数体
④  函数类型
【判断题】 一个C语言程序只能有一个函数( )。
①  正确
②  错误
【判断题】 C语言程序的执行顺序从主函数开始,主函数结束。
①  正确
②  错误
【单选题】 在每个C语言程序中都必须包含有这样一个函数,该函数的函数名为?
①  main
②  MAIN
③  name
④  function
随机题目
【单选题】 4.People are liable to______othersfromtheir own first impressions.
①  judge
②  peek
③  leak
④  look
【单选题】 9.The_______could not be followed up.
①  clue
②  rope
③  value
④  invent
【单选题】 They made a _____ search for the lost ring, but didn’t find it.
①  though
②  although
③  thorough
④  thoroughly
【单选题】 1. His paper was singled ______ as an example.
①  over
②  out
③  on
④  with
【单选题】 3. Nothing could_____him to such a course of action.
①  try
②  laugh
③  join
④  tempt
【单选题】 1. I have two friends but_______of them 1ikes to go fishing with me.
①  none
②  neither
③  both
④  either
【单选题】 Mary is _____ a translation of a French novel.
①  engaged in
②  busy in
③  absorbed in
④  occupied with
【单选题】 2. Manytallbuildings have sprung_________inthis small city.
①  out
②  into
③  up
④  across
【单选题】 Mary’s score on the test is the highest in her class; she _____ have studied very hard.
①  may
②  should
③  must
④  ought to
【单选题】 2. The Olympic Committee has drawn up strict rules for the sportsmen.
①  go by
②  go on
③  go over
④  go after