C++ TwoD Arrays(2D) 2DArray is known as data structure statement. TwoDArray use to store collection of same datatype data of fix size or user required size.We can say array is a collection of variables of same datatype. same datatype means if we want to store rollNumbers of Students then we'll use integer( int ) data type because rollNumbers are integers numbers. if we want to store name of students then we'll use string datatype to store names of different students because name is combination of characters or Alphabets. if we want to store rollNumbers of 50 Students then we'll create 50 variables of int datatype.No this is not a good Programming practice. for better performance we'll create an integer TwoDarray having size of 50 to store rollnumbers of Students. if we declare an TwoDarray of student rollNumbers then each rollnumber of each student called element of TwoDarray and every element or rollNumber is accessed by that specific index . ...
Information Technology Taleem