I am using .NET c++, my program runs fine i debugging mode shows NULL Reference exception when run without debugging. It's on the line

Reservation *res = new Reservation;

if i comment the above...