Homerun?
Problem 8In
a C program, can an auto local variable also be volatile?
Answer: Yes. If the address of
the variable is passed to a call-back function (such as an interrupt
triggered routine), the variable is volatile. However, passing the
address of an auto variable to a call-back function is, in general,
not a safe practice.
1-00
|