Two Dimensional Array - PTInstitute
Hi everyone, here we are presenting a presentation about 2-dimensional array. An array of arrays is known as a 2-dimensional array. The two-dimensional array in programmingu00a0is also known as the matrix. A matrix can be represented as a table of rows and columns. We demonstrate how to store the elements entered by the user in a 2d array and how to display the elements of a two-dimensional array. The individual elements of the above array can be accessed by using two subscript instead of one. The first subscript denotes row number and second denotes column number. As we can see in the above image both rows and columns are indexed fromu00a00. So the first element of this array is atu00a0a[0][0]u00a0and the last element is atu00a0a[1][2]. At Embedded training institute, teach 2-dimensional array very clear step by steps. Read More: https://www.ptinstitute.in
★
★
★
★
★
266 views • 24 slides