选项B中:int b[][3]={0,1,2,3}

选项B中:int b[][3]={0,1,2,3};等价于 int b[][3]={0,1,2,3,0,0};
   int b[][3]={0,1,2,3,4};
 
 
    cout<<b[1][1];
 
 
   结果4.

猜你喜欢

转载自www.cnblogs.com/SFVfreshman/p/test.html
今日推荐