Just wondering how exactly volatile keyword works internally.
Tried with GCC and Turbo C(DOS based) both cases it behaves in different manners.
volatile int iData;
iData = 5;
printf("%d %d %d %d %d %d\n", ++iData, iData++, iData++, ++iData, iData, iData++);
does the output depend upon printf function data passing or compiler based?
Thank you Cheers !!