|
![](/i/fill.gif) |
Darren New wrote:
> Mueen Nawaz wrote:
>> I may be wrong, but I believe all variables declared outside of a
>> function have default values.
>
> More exactly, in C at least, any variables allocated statically start
> with a default value of zero appropriate for their type. That includes
> static variables allocated inside a function.
Yes, I seem to recall that it's true for static variables as well (in
C++ - not sure about C).
--
Atheism is a non-prophet organization.
/\ /\ /\ /
/ \/ \ u e e n / \/ a w a z
>>>>>>mue### [at] nawaz org<<<<<<
anl
Post a reply to this message
|
![](/i/fill.gif) |