int myFunc(int a, int b, int c, int d[][c]) {
//code
}
I've tried this:
int myFunc(int, int, int, int *);
And this:
int myFunc(int, int, int, int *[int]);
And this:
int myFunc(int, int, int, int **);
But none of them seem to work. I think I'm having trouble pinning down the last parameter's type. Any help would be greatly appreciated.
Now try this
int myFunc(int a, int b, int c, int (*)[c]);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With