Which of the following is the correct way to assign an integer-03251
Which of the following is the correct way to assign an integer value 5 to element of a matrix say 'm' at second row and third column?
This multiple choice question (MCQ) is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Mid Term - Quiz No.16.
Which of the following is the correct way to assign an integer value 5 to element of a matrix say 'm' at second row and third column?
m[2][3] = 5;
m[3][2] = 5;
m[1][2] = 5;
m[2][3] = ‘5';