[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 … Read more

[Solved] volatile keyword usage in ISR function in micro-controller programing

Of course you do.volatile isn’t a prerogative of an ISR, it has a specific definition in the C11 standard: An object that has volatile-qualified type may be modified in ways unknown to the implementation or have other unknown side effects. Therefore any expression referring to such an object shall be evaluated strictly according to the … Read more