Rahul Vishwakarmamanzilxf.hashnode.devยทSep 13, 2023Creating 2D array by different ways?// 1) Simple One to Create 2D array int arr[3][2]={{1,2}, {3,4}, {5,6}}; for (int i = 0; i < 3; i++) { for (int j = 0; j < 2; j++) { cout<<arr[i][j]<<" "; } cout<<endl; } // ...1 likearrayAdd a thoughtful commentNo comments yetBe the first to start the conversation.