+ 2

Vector question(sort of)

https://code.sololearn.com/c3DbAud8sBgm/?ref=app I was playing around to see what would happen if I tried printing values beyond the vector I expected an error, but instead got random values. Why? What are these values?

18th Feb 2019, 4:52 AM
Daniel Cooper
Daniel Cooper - avatar
1 Resposta
+ 1
This are called garbage values
18th Feb 2019, 6:19 AM
Sahil Bhakat
Sahil Bhakat - avatar