My brain passed very vaguely recently, and I canβt remember for my life why the following C code:
char a[3][3] = { "123", "456", "789" }; char **b = a;
Raises the following warning:
warning: initialization from incompatible pointer type
Can anyone explain this to me.
Thanks.
c arrays pointers initialization
stretchkiwi
source share