定义数据段,使其中存放十个数字(-10,-2,30,1,-21,-3,11,45,21,-40)。
int main() { int a[10] = { -10, -2,30,1,-21, -3,11,45,21, -40 }; return 0; }