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.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
26 views1 page
Priya
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.