C++:int c[3][3]={1,2,3,4,5,6,7,8,9}则c[3][2]的值是 A.6 B.7 C.8 D.9
人气:289 ℃ 时间:2020-05-02 13:36:30
解答
你的问题应该是c[2][1]吧?否则c[3][2]就越界了,如果是c[2][1]值就是8了,因为二维数组是这样排的:1 2 3
4 5 6
7 8 9
推荐
- 已知:int a[][3]={1,2,3,4,5,6,7,8,9,0};则组数a的第一维的大小是 A、0 B、1 C、4 D、5
- 有如下程序c
- 10.已知int a[3][3]={ 1,2,3,4,5,6,7,8,9};,则*(*(a+2)+1) 的值是___________.
- He was too tired to walk further (改为同义句)
- 求一个坐标系中的线段长度的计算公式
- 乏味的英语单词怎么写
- we should try our best to deal with challenges in our esucation with the help of our teachers同义句
- He said that he hadn't heard from you since may
猜你喜欢