Synopsys Interview Question

c++ questions, I did not prepare that enough.