50M
100M
内存大小的2倍
150M
第1题:
定义int*swap()指的是______。
A.一个返回整型值的函数swap()
B.一个返回指向整型值指针的函数swap()
C.一个指向函数swap()的指针,函数返回一个整型值
D.以上说法均错
第2题:
定义int*swap()指的是 ______。
A.一个返回整型值的函swap()
B.—个返回指向整型值指针的swap()
C.一个指向函数swap()的指针,函数返回一个整型值
D.以上说法均错
第3题:
听力原文:A currency swap is a second technique for hedging long-term transaction exposure to exchange rate fluctuations.
(10)
A.A currency swap is a better way to convert the long-term transaction into a spot transaction.
B.A currency swap makes long-term transaction exposure to exchange rate fluctuations.
C.A currency swap is a better way to reduce the risks of the long-term transactions owing to the exchange rate fluctuations.
D.A currency swap can in no way reduce the risk of exchange rate fluctuations.
第4题:
为达到把a、b中的值交换后输出的目的,某人编程如下: Private Sub Command1_Click a%=10:b%=20 Call swap(a,B.:Print a,b End Sub Private Sub swap(ByVal aAs Integer,ByVal bAs Integer) c=a:a=b:b=c End Sub 在运行时发现输出结果错了,需要修改。下面列出的错误原因和修改方案中正确的是。 A.调用swap过程的语句错误,应改为:Call swap a,b B.输出语句错误,应改为:Print “a”,“b” C.过程的形式参数有错,应改为:swap(ByRef a As Integer,ByRef b As Integer) D.swap中3条赋值语句的顺序是错误的,应改为a=b:b=c:c=a
第5题:
定义int*swap()的是_______。
A.一个返回整型值的函数swap()
B.一个返回指向整型值指针的函数swap()
C.一个指向函数swap()的指针,函数返回一个整型值
D.以上说法均错
第6题:
下面程序输出的结果是( )。 #include <iostream> using namespace std; void swap(int &a,int &b){ int temp; temp=a; a=b; b=temp; } void main(){ int x=2; int y=3; swap(x,y); cout<<x<<y; }
A.23
B.32
C.ab
D.ba
第7题:
定义int* swap()指的是______。
A.—个返回整型值的函数swap()
B.—个返回指向整型值指针的函数swap()
C.—个指向函数swap()的指针,函数返回一个整型值
D.以上说法均错
第8题:
以下程序的输出结果是______。
include <stdio.h>
void swap(int *a, int *b)
{ int *t;
}
{ int i=3,j=5,*p=&i,*q=&j;
swap(p,q); printf("%d %d\n",*p,*q);
第9题:
A.swap内存
B.swap文件
C.swap磁盘
D.swap分区
第10题:
以下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<<