If the no of rows is not mentioned while initialising, does the no of rows get fixed to no of rows in initialisation?

If I do like:-

int c[ ][ 10 ]= {“ab”, “def”} ;

Can I take more row entries using cin?

cin>>c[ 2 ] ;

Is this allowed?

@Ayush280301 if you are not defining the number of rows, then number of rows are taken to be as the number of elements you gave, ie 2. So, no after that you cannot access c[2] (althought it will not produce an error, but it can create other complications like overwriting some other important data unknowningly)