在C程序中,设一表达式中包含有int,long,char和unsigned类型的变量和数据,这四种类型数据的转换规则是()。
A:int→unsigned→long→char B:char→int→long→unsigned C:char→int→unsigned→long D:int→char→unsigned→long
设void f1 (int *m,long & n);int a:long b;则以下调用合法的是______ 。
A:f1 (a,b); B:f1(&a,b); C:f1(a,&b); D:f1(&a,&b);
一个int类型的常量和一个byte类型的常量做加法,则其结果的类型为( )。
A:int B:byte C:char D:long
设void f1 (int *m,long & n);int a:long b;则以下调用合法的是______ 。
A:f1 (a,; B:f1(&a,; C:f1(a,&; D:f1(&a,&;
若一个函数的原型为"int * Xfun1(int x,int& y,char z);",则该函数的返回值类型为
A:int * B:int C:int& D:char
已知程序中已经定义了函数test,其原型是int test(int,int,int);,则下列重载形式中正确的是()。
A:char test (int,int,int); B:double test(int,int,double); C:int test(int,int,int=0); D:float test(int,int,float=3.5F);