Fawzi Mohamed wrote: > If you use malloc, the default initialization does not take place, the > memory is normally either initialized to 0, or left uninitialized (with > values that likely are not NaN). If I remember right, malloc does no initialization; calloc initializes to 0.