【单选题】【消耗次数:1】
以下函数fun的返回值类型为( )。fun(double x){ ……}
int
void
无法确认类型
double
参考答案:
复制
纠错
相关题目
【单选题】 已定义以下函数 fun(int*p) {return*p;} 该函数的返回值是()
①  不确定的值
②  形参p中存放的值
③  形参p所指存储单元中的值
④  形参p的地址值
【单选题】 要求定义一个返回值为double类型的名为sum的函数,其功能为求两个 double类型数的和。正确的定义形式为( )。
①  sum(double x,y) { rerurn x+y; }
②  sum(double x,double y) { return x+y; }
③  double sum(double x,double y){ return x+y; }
④  double sum(double x,double y);{ return x+y;}
【单选题】 若定义了函数 double *function(), 则函数function的返回值为()。
①  实数型
②  实数的地址
③  指向函数的指针
④  函数的地址
【单选题】 若定义了函数 double *function(), 则函数function的返回值为()。
①  实数型
②  实数的地址C.指向函数的指针
③  函数的地址
【单选题】 若定义了函数 double *function(), 则函数function的返回值为(????)。
①  实数型
②  实数的地址C.指向函数的指针
③  函数的地址
【单选题】 若主调用函数类型为double,被调用函数定义中没有进行函数类型说明,而return语句中的表达式类型为float型,则被调函数返回值的类型是(  )。
①  int 型
②  float 型
③  double 型
④  由系统当时的情况而定
【单选题】 C语言中,若缺省定义函数返回值类型,则该函数默认返回值类型是()。
①  void
②  long
③  int
④  double
【单选题】 函数返回值类型是由()
①  return语句的表达式类型决定
②  则主调函数接收变量类型决定
③  调用函数时系统随机分配决定
④  定义函数时所指定的函数类型决定
【单选题】 有语句typedef double funt(double);funt fun13,*pfun;则以下正确的赋值语句是()
①  pfun=fun13;
②  *pfun=fun13;
③  pfun=funt;
④  *pfun=funt;
【单选题】 MsgBox 函数返回值的类型是?
①  数值或字符串
②  字符串
③  变体
④  整型数值
随机题目
【单选题】 Which of the following is not written by Henry James?
①  Daisy Miller
②  The Wings of the Dove
③  The American
④  Self-Reliance
【单选题】 Stylistically, Henry James’ fiction is characterized by ________.
①  highly refined language
②  ordinary American speech
③  short, clear sentences
④  abundance of local images
【单选题】 The first American writer of local color to achieve wide popularity was?____.
①  Bret Harte
②  Mark Twain
③  Henry James
④  William Dean Howells
【单选题】 Mark Twain, one of the greatest 19th century American writers, is well known for his ______.
①  international theme
②  waste-land imagery
③  local colorism
④  symbolism
【单选题】 Who exerts the single most important influence on literary naturalism, of which Theodore Dreiser and Jack London are among the best representative writers?
①  Freud
②  Darwin
③  W. D. Howells
④  Emerson
【单选题】 _____ had an evident influence on naturalism. It seemed to stress the animality of man, to suggest that he was dominated by the irresistible forces of evolution.
①  Transcendentalism
②  Darwinism
③  Marxism
④  Freudianism
【单选题】 As a realist, Mark Twain concerned particularly about the local character of a region, which came about as “_________”.
①  Naturalism
②  Transcendentalism
③  Local Colorism
④  Both A and C
【单选题】 ______ is not the representative writer in the Age of Realism in the literary history of the United States.
①  Henry James
②  Ezra Pound
③  William Dean Howells
④  Mark Twain
【单选题】 Which of the following is not right about Mark Twain’s writing style?
①  ungrammatical and complicated
②  colloquial and concrete
③  remarkable humor
④  deep influence on contemporary writers
【单选题】 After the Civil War America was transformed from ______ to ______.
①  an agrarian community … an industrialized and commercialized society
②  an agrarian community … a society of freedom and equality
③  a poor and backward society … an industrialized and commercialized society
④  an industrialized and commercialized society … a highly developed society