hai
i need your help.how to use volatile pointer,macro function.
appliccation for macro function.diffence between macro function,oridnary function.what is difference between object file and hex file
Volatile l-values (not just pointers) indicate to the compiler that every read and
write should affect that l-value, i.e. it is not allowed to keep the value in a
register or other memory location for reference, nor is it allowed to optimize
the value away in certain expressions.
Macros have nothing to do with volatile l-values. Macros are processed and
evaluated in the preprocessing phase of the compilation. Macros are replaced
textually ("expanded") and they are all gone when the actual C programming
language compilation starts.
kind regards,
Jos
ps. doesn't this belong in the C/C++ area?