On Fri, 3 Aug 2012 19:09:33 +0530, Datta, Shubhrajyoti wrote:
On Fri, Aug 3, 2012 at 6:44 PM, Jean Delvare [off-list ref] wrote:
quoted
Good idea but I see no good reason to switch from struct-wide
initialization to per-field initialization. AFAIK per-field
initialization is less efficient and might leave some fields
uninitialized, while I seem to remember struct-wide initialization sets
them to 0.
in case of locals also?
I _think_ so... But I admit I would be unable to quote the C99 standard
on that. If someone knows for sure, please speak up.
--
Jean Delvare