Ok, this is just plain odd. There's some creepy stuff going on around here...
I thought that this would make my program crash for sure:
Right? But it works perfectly. I input a number, and it outputs it. I compile it, 0 errors and 0 warnings. WTF? I'm 99% sure that if I were to run this do before a week ago, it would of crashed. What's going on here? Here's the really weird part: it works fine until I try to access an element in the array above 33. Yeah, that's right -- I try to output array, and it crashes like it should. Anything below or at 33 works fine. If I change the array to hold more than 2 numbers, then I can it doesn't crash with larger numbers. I'm using MSVC. Can anyone tell me what's happening here?Code: