Why we r using the 2-D array we can do matrix in 1-D array with the help of loop
Share
Why we r using the 2-D array we can do matrix in 1-D array with the help of loop
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
No we cannot use 1D array to create matrix of any order but we can use 2D or nD array to create a matrix.
( 'n' is any positive integer)
HOPE IT HELPS YOU.