Well
I just want to know, how to give variable size for an array(Particularly, second subscript).
For example, like this
#include<iostream>
using namespace std;
int main()
{
int a,b;
cout<<"Enter the size for the 2D array"<<endl;
cin>>a>>b;
int*A=new int[a][b];
for a its ok, But how to make it work for b too..