[fpc-devel] Are global variables guaranteed to be zero?

Alexander Klenin klenin at gmail.com
Wed Nov 28 08:47:31 CET 2012


Will global variables and static global arrays be always initialized to zero?
It seems that they in fact are, and there is quite a lot of code
relying on it. On the other hand, the documentation denies that.
What is the official position?

--
Alexander S. Klenin



More information about the fpc-devel mailing list