更多"对于表A(col1 int,col2 char(1)),表B(col1"的相关试题:
[单项选择]对于表A(col1 int,col2 char(1))更新col1=1的数据col2值为N,下面语句正确的是()
A. update table A setcol2=’N’ where col1=1
B. modify table A setcol2=N where col1=1
C. update A set col2=’N’ where col1=1
D. modify A set col2=N where col1=1
[单项选择]结构声明 struct S1{int x; char y; int z;};,考虑数据对齐要求,则整个结构的大小为()字节。
A. 8
B. 9
C. 12
D. 14
[单项选择] typedef struct{ int num; char *name; } *vec_ptr; 则在IA32机器上,sizeof(vec_ptr) =()
A. 4
B. 8
C. 12
D. 16
[单项选择] typedef struct{ int num; char *name; } vec_rec; 则在IA32机器上,sizeof(vec_rec) = ()
A. 4
B. 8
C. 12
D. 16
[单项选择] 考虑下面的声明: union u1{ char c; int i[3]; double d; }; 那么每个u1的对象需要的字节数为()
A. 21
B. 13
C. 12
D. 8
[单项选择]结构体struct str{char c; int i[12]; double v;}中字段i的偏移量是()
A. 0
B. 1
C. 2
D. 4
[单项选择] Union test{ Char a[3]; Int b[4]; Short c[5]; }; 一个test类型数据占用()个字节的空间。
A. 10
B. 16
C. 29
D. 30
[单项选择] struct test{ Char a[3]; Int b[4]; Short c[5]; }; 一个test类型数据占用()个字节的空间。
A. 28
B. 29
C. 30
D. 32
[单项选择]假定一个函数原型为"char *func(int n)",则该函数的返回类型为()。
A. int
B. int*
C. char
D. char*
[单项选择] 有以下声明: char A[10]; char *B[7]; float C[4]; double *D[3]; 其中所占字节数最大的数组是()
A. 数组A
B. 数组B
C. 数组C
D. 数组D
[单项选择]unsigned char 的最小值为()
A. 128
B. 255
C. -127
D. 0
[单项选择] 考虑下面的函数: int min(int x,int y){return xint max(int x,int y){return x>y?x:y;} 对于下面的代码: t=0; for(i=max(x,y);i>=min(x,y);i--) t+=i; 假设x=1,y=100,则可以得到函数调用的次数为()
A. 200
B. 201
C. 101
D. 102
[单项选择]When navigating in high latitudes and using a chart based on a Lambert conformal projection,().
A. a straight line drawn on the chart approximates a great circle
B. the chart should not be used outside of the standard parallels
C. the course angle is measured at the mid-longitude of the track line
D. distance cannot be measured directly from the chart
[单项选择]char类型的长度为()个字节。
A. 1
B. 2
C. 3
D. 4
[单项选择]It is an()condition precedent in every voyage charter-party that the ship shall proceed on the voyage without departure from her proper course.
A. implemented
B. implied
C. impossible
D. improper
[单项选择]对于32位机器,char * 的字节数为()
A. 1
B. 2
C. 4
D. 8
[单项选择]数组char *A[8]的总大小是()
A. 8
B. 16
C. 32
D. 64