Quote:
Originally Posted by Dubslow
It could be that a different compiler (clang?) automatically initializes all C variables to 0/NULL, as most other languages do, while gcc doesn't. (When you say command line, do you mean with gcc as opposed to clang?)
|
Yes that's right. It worked with both gcc and clang on my Macbook.