Cisco interview question

Q: Allocate memory for the pointer int ***p, inheritance, Virtual functions, smart pointers, deadlock, TCP/UDP etc.