Question: What does the following code do, given that x is initialized with integer values? int row - 5; int col = 5; int x[row][col];
What does the following code do, given that x is initialized with integer values? int row - 5; int col = 5; int x[row][col]; / Intilization of x */ for (int i = 0; i < row; i++) if (x[1][1] % 2 == 0) x[1][1] = 0; x[1][1] = 1; else
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
