int a=3;int *pointer;pointer=&a;此时,*pointer与( )等价。
A: a
B: *a
C: &a
D: pointer
A: a
B: *a
C: &a
D: pointer
A
举一反三
- 中国大学MOOC: int a=3;int *pointer;pointer=&a;此时,*pointer与( )等价。
- 下列代码段,( )是正确的 A: int *pointer,x;pointer=x; B: int *pointer,x;*pointer=x; C: int *pointer,x;pointer=&x; D: int *pointer,x;x=&pointer;
- 下列语句中错误的是: A: int *pointer = new int(10) B: int *pointer = new int[10] C: int *pointer = new int D: int *pointer = new int[40](0)
- 中国大学MOOC: 下面一段代码中break语句起到( )的作用。 int pointer = 1; while (pointer <= 100) { switch(pointer % 3) { case 1: pointer += 1; break; case 2: pointer += 2; break; case 3: pointer += 3; break; } pointer++; }
- 下面一段代码中break语句起到( )的作用。 int pointer = 1; while (pointer <= 100) { switch(pointer % 3) { case 1: pointer += 1; break; case 2: pointer += 2; break; case 3: pointer += 3; break; } pointer++; } A: 结束当次循环,使控制权直接转移到控制循环的条件表达式 B: 从嵌套循环内部跳出最里面的循环 C: 终止switch语句的语句序列 D: 退出循环
内容
- 0
设“inta[10],*pointer=a;”,以下不正确的表达式是()。 A: pointer=a+5; B: a=pointer+a; C: a[2]=pointer[4]; D: *pointer=a[0];
- 1
int *p[4]; Define a one-dimensional pointer array
- 2
设int a[10];int *pointer=a; 以下表达错误的是()
- 3
The function rewind can .? move the file pointer to the end of the file.|move the file pointer to the specific location of the file.|move the file pointer to the beginning of the file.|move the file pointer to the location of the next character.
- 4
SDH pointer is divided into AU pointer and TU pointer. A: 正确 B: 错误