multiple initialization// Note:Your choice is C++ IDE#include using namespace std;int main(){ int array1[2][3] ={1,2,3,4,5}; int array2[2][3] ={{1,2},{4}}; cout

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/27 06:02:03
multipleinitialization//Note:YourchoiceisC++IDE#includeusingnamespacestd;intmain(){intarray1[2][3]={

multiple initialization// Note:Your choice is C++ IDE#include using namespace std;int main(){ int array1[2][3] ={1,2,3,4,5}; int array2[2][3] ={{1,2},{4}}; cout
multiple initialization
// Note:Your choice is C++ IDE
#include
using namespace std;
int main()
{
int array1[2][3] ={1,2,3,4,5};
int array2[2][3] ={{1,2},{4}};
cout

multiple initialization// Note:Your choice is C++ IDE#include using namespace std;int main(){ int array1[2][3] ={1,2,3,4,5}; int array2[2][3] ={{1,2},{4}}; cout
把第二个带int的for循环中的int去掉.改后代码如下:
#include
using namespace std;
int main()
{
int array1[2][3] ={1,2,3,4,5};
int array2[2][3] ={{1,2},{4}};
cout