C++ Double Dimensional Arrays (2-D Arrays)

Back To C++ Index


1. program to input 2x2 matrix and then display the matrix using for loop example of two dimensional array - Code
2. program to input 3x3 matrix and then display the matrix using for loop example of two dimensional array - Code
3. program to input two 2x2 matrices (double dimensional arrays) and check them for equality using for loop - Code
4. program to input 2x2 matrix (double dimensional array) and display transpose of the matrix - Code
5. program to input two 2x2 matrices (double dimensional arrays) and find their sum - Code
6. program to input two 2x2 matrices (double dimensional arrays) and find their difference - Code
7. program to input two 2x2 matrices (double dimensional arrays) and find their product - Code
8. program to input two 2x2 matrices (double dimensional arrays) and find their division - Code
9. program to initialize a 3x3 matrix and find sum of elements in rows and sum of elements in columns - Code
10. program to input 3x3 matrix and find sum of both diagonals - Code
11. program to initialize 3x3 matrix and display both the diagonals - Code
12. program to initialize 3x3 matrix and replace every alternate element in the matrix by 0 - Code
13. program to initialize 3x3 matrix and display elements which are not on the diagonals - Code
14. program to initialize 3x3 matrix and convert it into single dimensional array of 9 elements - Code
15. program to input 2x2 matrix (double dimensional array) and find sum of all the elements - Code
16. program to input 2x2 matrix (double dimensional array) and display all those numbers which are divisible by 5 - Code
17. program to input marks of 3 students in 3 subjects and find average and total (example of double dimensional arrays) - Code
18. program to initialize 3x3 matrix and find sum of upper and lower triangle of the matrix (example of double dimensional arrays) - Code
19. program to initialize 3x3 matrix and display upper and lower triangle of the matrix (example of double dimensional arrays) - Code
20. program to input a country name and print its capital (example of double dimensional arrays of char) - Code
21. program to input a sentence and convert it to words - Code