what is the difference between following function declarations, which create and return the array in C/C++? Both methods create the array and fill it with proper values and returns true if everything passed.
bool getArray(int* array);
bool getArray(int* array[]);
Thanks
Best Regards,
STeN
If it helps you to think about it you can remember that
int foo[]is the same thing asint *fooat one level. So in your example the first is passed a pointer to an int while the second is passed a pointer to a pointer to an int.