首页 > 试题广场 >

#include using name...

[填空题]
#include <iostream>

using namespace std;
struct point {
    int x;
    int y;
};

int main( ) {
    struct EX {
        int a;
        int b;
        point c;
    } e;
    e.a = 1;
    e.b = 2;
    e.c.x = e.a + e.b;
    e.c.y = e.a * e.b;
    cout << e.c.x << ',' << e.c.y << endl;
    return 0;
}

输出:___1______

这道题你会答吗?花几分钟告诉大家答案吧!