What's gone wrong with the values in this struct?
Relatively new to C and will readily concede there are things I think I understand, but probably don’t appreciate all the nuances. This is a MWE extracted from a more involved program I wrote. It compiles and runs fine, but testing reveals that the value of ev->pin is initially correct, but is incorrect after an… Read More What's gone wrong with the values in this struct?