2

This is how I can make a volatile variable:

volatile int i;

But how can I make a struct instance volatile, is this correct?

volatile MyStruct s1;
paul
  • 695
  • 7
  • 17

0 Answers0