Reading data at 10 Khz rate

MichaelMeissner:
Given that clock1 is a global variable, the compiler/runtime system guarantees that it will be 0 when the program starts up. This is required by the ISO C and C++ standards. Now, if clock1 were an auto variable, then yes, you would need the initializer.

That's good to know - thanks. Scratch that one then.