Domanda di colloquio di Netcracker Technology

c++ oops concepts, gdb debugging, predict the output