Default variable value

If I don't assign a value to a variable when I declare it, does it default to zero or just whatever was previously in the memory?

e.g.

float x;
51
задан Antti Haapala 24 August 2019 в 18:33
поделиться