Kinaxis Interview Question

memory management in c++