Garmin interview question

Describe a time you'd use a pointer to a pointer.

Interview Answer

Anonymous

26 July 2017

2-d array int rows, cols; int** a = new int* []; for(int i = 0; i < rows; i++) { a[i] = new int* [cols] }

1