[Solved] Warning in array of pointers “initialization from incompatible pointer type”


ZeroA and so one are pointers to an array of char elements.
&ZeroA holds the address of the pointer to the array ZeroA and so to hold it you need char **

The correct way to do it in your example is like this:
char *XYZ[11]={ZeroA,OneA,TwoA,ThreeA,FourA,FiveA,SixA,SevenA,EightA,NineA,TenA};

15

solved Warning in array of pointers “initialization from incompatible pointer type”