E400

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: for row [0] is for column Bounds In C ++ the lower bound for row as well column is 0. In array declaration int marks[25][4]; means that 0 to 24 rows and 0 to 3 columns. Storing Inputting Elements to Two­ Storing Inputting Elements to Two­ Dimensional Array The assignment statements: marks marks[0][0]=79; marks[1][0]=99; Through these statements at location no. (0,0) in the memory 79 will be stored and at location no. (1,0) 99 it look like this in memory 0 0 1 2 79 99 1 2 3 Displaying Output From Two­Dimensional Array Displaying Output From Two­Dimensional Array cout<<...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online