Q:

Can we have a volatile pointer?

0

Can we have a volatile pointer?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Yes, we can create a volatile pointer in C language.

// piData is a volatile pointer to an integer.
int * volatile piData;

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Embedded C interview questions and answers (2022)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
The Proper place to use the volatile keyword?... >>
<< Can a variable be both constant and volatile in C?...