I have a pointer being passed as a reference to a function. And this pointer points to 0th element of a 1D array. Now I want to compare it with an 2D array.
This 2D array is a list that will keep generating if any 1D array that is being passed isn't already saved in that list.
How can I implement this?