Kaseya interview question

Memory allocation, value and reference types