No they are not. When a variable is declared it contains whatever value was in that memory space beforehand. -1 is a pretty common number and previously run applications could easily have set that...
Type: Posts; User: DeadPlanet
No they are not. When a variable is declared it contains whatever value was in that memory space beforehand. -1 is a pretty common number and previously run applications could easily have set that...
It probably is faster but as grumpy said the two pieces of code do not do the same thing.