Re:Initialization in C++ is Bonkers
by flavio81 on Monday June 12, 2017 @09:16PM
(#14542326)
Exactly, i recall that was one of the first things I read, i think, on the Kerninghan&Ritchie classic book ("The C Programming language").
Also on university they repeated to me exactly the same thing. "Since each variable points to a memory location, you can't be sure of what is inside that memory location, until you initialize the variable".
Also on university they repeated to me exactly the same thing. "Since each variable points to a memory location, you can't be sure of what is inside that memory location, until you initialize the variable".