2d vector of char or int

how to make 2d array of strings or int and how to operate on it?

simply writing string A[N] will create an array of strings where each element of A can be a string of variable size, thus making it a 2D string array.

how can it become a 2d and how to operate like accessing a elements etc?


please refer to this code, here i have accessed the string whole and each character as well

and same as int int array?

yes, you can image 2d int array to be array of arrays