运行以下结构体程序,输出是()
struct Art { int id; int val; } a[2]={{1,10},{2,20}}; int main() { cout<<a[0].val+a[1].id; return 0; }
12
11
21
30