【单选题】【消耗次数:1】
下列声明自定义函数selectNumber()正确的是( )。
function: selectNumber(){}
function selectNumber(){}
function=selectNumber(){}
function {selectNumber()}
参考答案:
复制
纠错
相关题目
【单选题】 若定义了函数 double *function(), 则函数function的返回值为()。
①  实数型
②  实数的地址
③  指向函数的指针
④  函数的地址
【单选题】 若定义了函数 double *function(), 则函数function的返回值为()。
①  实数型
②  实数的地址C.指向函数的指针
③  函数的地址
【单选题】 若定义了函数 double *function(), 则函数function的返回值为(????)。
①  实数型
②  实数的地址C.指向函数的指针
③  函数的地址
【单选题】 What is the function of optional activities?
①  Backups in case the lesson goes too fast and there are a few minutes left
②  Prepared for good students
③  Prepared for bad students
④  Used for emergency.
【单选题】 以下关于Function过程的说法,错误的是( )。
①  Function过程名可以有一个或多个返回值
②  在Function过程内部不得再定义Function过程
③  Function过程中可以包含多个Exit Function语句
④  可以像调用Sub过程一样调用Function过程
【判断题】 Sub过程和Function过程。
①  正确
②  错误
【单选题】 Sub过程与Function过程最根本的区别是()。
①  Sub过程可以使用Call语句或直接使用过程名调用,而Function过程不可以。
②  Function过程可以有参数,Sub过程不可以。
③  两种过程参数的传递方式不同。
④  Sub过程的过程名不能返回值,而Function过程能够通过过程名返回值。
【单选题】 Sub过程与Function过程最根本的区别是
①  两种过程参数的传递方式不同
②  Function过程可以有参数,Sub过程不可以
③  Sub过程可以使用Call语句或直接使用过程名调用,而Function过程不可以
④  Sub过程的过程名不能返回值,而Function过程能通过过程名返回值
【单选题】 Sub过程与Function过程最根本的区别是()。
①  Sub过程可以使用Call语句或直接使用过程名调用,而Function过程不可以。
②  Function过程可以有参数,Sub过程不可以。
③  两种过程参数的传递方式不同
④  Sub过程的过程名不能返回值,而Function过程能够通过过程名返回值。
【判断题】 Function函数一定有参数传递,并且一定有返回值。
①  正确
②  错误
随机题目
【单选题】 The [] was seen strolling with his kids in the park at dusk yesterday.
①  elect president
②  president elect
【单选题】 The little boy was [] hearted.
①  mouse
②  chicken
【单选题】 The pejorative word is [].
①  spinster
②  unmarried woman
③  maiden lady
【单选题】 The neutral word is [].
①  sly
②  clever
③  of high IQ
④  foxy
【单选题】 Of these two old people the former has died and the [] is alive and healthy.
①  later
②  latter
【单选题】 He put all his things [] his suitcase.
①  in
②  into
【单选题】 The thunderbolt frightened the sleeping baby. Here thunderbolt takes [] meaning.
①  denotative
②  connotative
【单选题】 The appreciative word is[].
①  tempting
②  charming
③  coquettish
【单选题】 We should bear in [] all these important rules.
①  mind
②  heart
【单选题】 Jack is a big brother in the eyes of his classmates. Here brother takes [] meaning.
①  denotative
②  connotative