Some C library function omit warnings via the compiler when volatile values are passed to them; for example memcpy().
Now I wondered whether I could use some volatile casts to enforce immediate evaluation.
Consider:
int b; /* ... */
(volatile int) b = 1;
b = (volatile int) 1;
Now does the second line cause immediate assignment to b, and does the third line do the same?
Or can't a constant like 1 be made "more volatile" (meaning it won't have any effect)?