What is the difference between array parameters in C

Posted by STeN on Stack Overflow See other posts from Stack Overflow or by STeN
Published on 2010-05-03T04:15:13Z Indexed on 2010/05/03 4:18 UTC
Read the original article Hit count: 304

Hi,

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

© Stack Overflow or respective owner

Related posts about arrays

Related posts about argument-passing