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
  • 645
  • 6
  • 15

0 Answers0