You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//dynamicc arrays are used to declare an array in heap memory and we can change the size of these arrays at runtime, whereas we cannot change the size of static arrays at time
// 2D jagged array in c++
int rows;
cout<<"Enter the no of rows of array:";
cin>>rows;
int *numbers = new int[rows]; //array to store no of columns in each row;