Function overloading

Posted by makcoozi on Stack Overflow See other posts from Stack Overflow or by makcoozi
Published on 2010-04-07T07:13:42Z Indexed on 2010/04/07 7:23 UTC
Read the original article Hit count: 235

Filed under:
|

I found this code , and i m not sure that whether overloading should happen or not.

void print( int (*arr)[6], int size );

void print( int (*arr)[5], int size );

what happens if I pass pointer to an array of 4 elements , to it should come...

any thread will be helpful.

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++