0

Pointer to pointer in cpp...

I want to access memory location of pointer to pointer, means (i,j)th position in **var, pointer to pointer variable?

28th Mar 2018, 5:24 PM
Nilesh Ingale
Nilesh Ingale - avatar
5 Answers
+ 1
you can use var[i][j]
28th Mar 2018, 5:27 PM
đŸ‡źđŸ‡· M N
+ 1
OK thanks. I'll try it and if it fails then I'll write the class here
28th Mar 2018, 5:32 PM
Nilesh Ingale
Nilesh Ingale - avatar
0
Plz help to access.
28th Mar 2018, 5:25 PM
Nilesh Ingale
Nilesh Ingale - avatar
0
actually I'm defining a class of matrix in which I used pointer to pointer at replacing array. I'm unable to access it using arrays
28th Mar 2018, 5:29 PM
Nilesh Ingale
Nilesh Ingale - avatar
0
you can access it like arrays, try it or write the class you wrote for further help
28th Mar 2018, 5:31 PM
đŸ‡źđŸ‡· M N