Tell me can a pointer be volatile?

Submitted by: Muhammad
If we see the declaration volatile int *p, it means that the pointer itself is not volatile and points to an integer that is volatile. This is to inform the compiler that pointer p is pointing to an integer and the value of that integer may change unexpectedly even if there is no code indicating so in the program.
Submitted by: Muhammad

Read Online Embedded Software Engineer Job Interview Questions And Answers