for (i = 1; i <= m; i++) { for (j = 1; j <= n; j++) { Console.WriteLine("Enter the values for c1[i][j]"); int[][] c1 = Convert.ToInt32(Console.ReadLine()); //****error in this line } }
c1
for (int i = 1; i <= m; i++) { for (int j = 1; j <= n; j++) { Console.WriteLine("Enter the values for c1[i][j]"); c1[i][j] = Convert.ToInt32(Console.ReadLine()); //**** this will not show any error } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)