Using the malloc function once initializes all uninitialized variables with a 0
The malloc
function is not supposed to initialize any value to any variable it is used on, like the malloc
does. Why then do I keep getting the initialized value of every other varibale to be 0, after using the malloc
function once in the program?