This code defines an array called marks that stores integer values. It initially dimensions the array to 3 elements, assigns values to the first 3 elements, and then redimensions the array to 6 elements while preserving existing values. It assigns values to the 4th and 5th elements and then displays the value stored in the 5th element.
This code defines an array called marks that stores integer values. It initially dimensions the array to 3 elements, assigns values to the first 3 elements, and then redimensions the array to 6 elements while preserving existing values. It assigns values to the 4th and 5th elements and then displays the value stored in the 5th element.
This code defines an array called marks that stores integer values. It initially dimensions the array to 3 elements, assigns values to the first 3 elements, and then redimensions the array to 6 elements while preserving existing values. It assigns values to the 4th and 5th elements and then displays the value stored in the 5th element.