摘要:
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 阅读全文
摘要:
下面两个结构体 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; 阅读全文
摘要:
下列代码编译时会产生错误的是() 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) { 阅读全文