why variable contains garbage value ,until they are assigned a value
Variable ,why it contains garbage value
Hey, unlike some programming languages where a variable which has not been assigned any value takes a value zero, an uninitialized variable in C++ by default takes some garbage value.