Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
Because somebody else (including another program) used that memory at some point and nobody changed it since. Use calloc if you want it 0'ed out.
9th Jun 2019, 7:25 AM
Vlad Serbu
Vlad Serbu - avatar