网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

4、关于float描述错误的是()。

A.可以设置为float:left

B.可以设置为float:center

C.可以设置为float:right

D.可以设置为float:none


参考答案和解析
B
更多 “4、关于float描述错误的是()。A.可以设置为float:leftB.可以设置为float:centerC.可以设置为float:rightD.可以设置为float:none” 相关考题
考题 文件描述符的数据类型是()A.charB.intC.doubleD.float

考题 以下关于表列数据类型的描述中,()是正确的。 A、float是浮点数B、decimal是精确小数C、decimal和float都是精确小数

考题 下列对变量的引用中,错误的是A.int a; int p = a;B.char a; char p = a;C.iht a; int p; p =a;D.float a; float p=a;

考题 以下函数值的类型是 ( ) fun (float x) { float y; y=3 * x-4; return y; }A.intB.不确定C.voidD.float

考题 若要定义a为3×4的二维数组,正确的定义语句是( )A.float a(3,4);B.float a[3][4];C.float a(3)(4);D.float a[3,4];

考题 下列关于Java语言简单数据类型的说法中,错误的是( )。A.float类型占内存少,运算快B.float类型占内存少,但是运算速度比不上double类型C.double类型精度高于float类型D.double类型在计算机的内存中占64位

考题 下列函数值的类型是( )。 fun(double x) { float y; y=3*x-4; return y; }A.intB.不确定C.voidD.float

考题 以下函数值的类型是______。 fun(floatx) { float y; y=3*x-4; return y; }A.intB.不确定C.voidD.float

考题 下面对二维数组array 的定义,正确的是( )。A.int array[][4];B.char array[3,4];C.float array (3)(4);D.float array[3][4];

考题 以下对结构体类型变量td的定义中,错误的是 ______。A.typedef struct aaB.struct aa {int n; {int n; float m; float m; }AA; }td; AAtd; struct aa td;C.structD.struct {int n; {int n; float m; float m; }aa; }td; struct aa td;

考题 以下4个程序中,不能实现两个实参值进行交换的是 ( )。A.void swap (float *p, float *q) { float *t ,a; t = a; t = p; *p = *q; *q = *t; } void main () { float x = 8.0;y = 9.0; swap (x, y); cout<<x<<", "<<y<<B.void swap (float *p, float *q) { float a; a = *p; *p = *q; *q = a; } void main() { float x = 8.0;y = 9.0; swap (x, y); cout<<x<<", "<<y<<end1;C.void swap (float *p, float *q) { float x; x = *p; *p = *q; *q = x; } void main() { float a,b.; *a = 8.0;*b = 9.0; swap (a, b) ;D.void swap (float p, float q) { float a; a = p; p = q; q = a; } void main() { float a = 8.0,b = 9.0; swap (a,b); cout<<x<<", "<<y<<

考题 下列函数的定义,正确的是( )。A.float sum(x,y) {float x,y;……}B.float sum(float x,float y); {……}C.float sum(float x,float y) {……}D.float sum(floatx,floaty) {……}

考题 对下面的程序,说法正确的是()。includeusing namespace std;void sum(float m, float 对下面的程序,说法正确的是( )。 #include<iostream> using namespace std; void sum(float m, float n) { float sum=m+n; } main() { cout<<sum(5.3,6.5)<<endl;}A.该程序是错误的,错误之处在于没有对sum()函数进行说明B.程序书写规整,无语法错误,是正确的C.该程序语法无错误,但在调用函数sum()时出错,因为sum()函数被定义为viod类型,但却被主函数调用,因而是错误的D.虽然sun()函数被定义为void类型,但调用时也不会出错,程序能够编译通过

考题 以下对结构体类型变量td的定义中,错误的是( )。A.typcdef struct aa { int n; float m; } AA; AA td;B.struct aa {int n; float m; } struct aa td;C.struct {int n; float m; } aa; struct aa td;D.struct {int n; float m; }td;

考题 若要定义a为3×4的二维数组,正确的定义语句是 ( )A.floata(3,4);B.float a[3][4];C.float a(3)(4);D.float a[3,4];

考题 以下各组选项中,均能正确定义二维实型数组a的选项是( )A.float a[3][4]; float a[][4]; float a[3][]={{1},{0}};B.float a(3,4); float a[3][4]; float a[][]={{0},{0}};C.float a[3][4] static float a[][4]={{0},{0}};D.float a[3][4]; float a[3][];

考题 表达式(4/5*(float)3+(float)3*4/5)的值为()

考题 关于float数定义正确的是() A、float f=1.0B、float=x0x0687C、float=-5D、float=1.8f

考题 下列选项中,能有效地描述浮点数的有()。A、Float foo = -1;B、Float foo = 1.0;C、Float foo = 42e1;D、Float foo = 2.02f;E、Float foo = 3.03d;F、Float foo = 0x0123;

考题 下面的方法重载,正确的是()。A、int fun(int a, float b) { } float fun(int a, float b) { }B、float fun(int a, float b) { } float fun(int x, float y) { }C、float fun(float a) { }  float fun(float a, float b) { }D、float fun1(int a, float b) { } float fun2(int a, float b) { }

考题 Which two cause a compiler error?() A、 float[] = new float(3);B、 float f2[] = new float[];C、 float[] f1 = new float[3];D、 float f3[] = new float[3];E、 float f5[] = { 1.0f, 2.0f, 2.0f };F、 float f4[] = new float[] { 1.0f. 2.0f. 3.0f};

考题 关于float的属性描述错误的是()。A、float:left;B、float:center;C、float:right;D、float:none;

考题 下面关于float数的定义错误的是()A、float f=-5;B、float f=0x0687;C、float f=1.0;D、float f=7.8f;

考题 文件描述符的数据类型是()。A、charB、intC、doubleD、float

考题 单选题以下关于表列数据类型的描述中,()是正确的。A float是浮点数。B decimal是精确小数。C decimal和float都是精确小数。

考题 单选题关于float的属性描述错误的是()。A float:left;B float:center;C float:right;D float:none;

考题 单选题下面关于float数的定义错误的是()A float f=-5;B float f=0x0687;C float f=1.0;D float f=7.8f;

考题 单选题下面的方法重载,正确的是()。A int fun(int a, float b) { } float fun(int a, float b) { }B float fun(int a, float b) { } float fun(int x, float y) { }C float fun(float a) { }  float fun(float a, float b) { }D float fun1(int a, float b) { } float fun2(int a, float b) { }