摘要:
1 2 3 4 5 void swap_int(int *a,int *b){ *a=*a+*b; *b=*a-*b; *a=*a-*b; } 1 2 3 4 5 void swap_int(int *a,int *b){ *a=*a+*b; *b=*a-*b; *a=*a-*b; } 1 2 3 阅读全文
posted @ 2018-03-15 17:23
Kxzh
阅读(138)
评论(0)
推荐(0)
摘要:
下面两个结构体 1 2 3 4 5 6 7 8 9 10 struct One{ double d; char c; int i; } struct Two{ char c; double d; int i; } 1 2 3 4 5 6 7 8 9 10 struct One{ double d; 阅读全文
posted @ 2018-03-15 16:29
Kxzh
阅读(122)
评论(0)
推荐(0)
摘要:
下列代码编译时会产生错误的是() A.语句1 B.语句2 C.语句3 D.语句4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 #include <iostream> using namespace std; struct Foo { Foo() {} Foo(int) { 阅读全文
posted @ 2018-03-15 16:23
Kxzh
阅读(174)
评论(0)
推荐(0)

浙公网安备 33010602011771号