I am trying to declare a 2d array using pointers as it needs dynamic memory allocation. I know for link list implementation I can use "Node **myArray" where the two asterix declare its an array of pointers.
I am setting up a simple integer 2d array for a matrix.
yes (except that if an array has V elements, they are adj[0] to adj[V-1] ),
but see http://www.cplusplus.com/forum/articles/17108/
also, every row has a different length and you don't set them to 0.