ITC Infotech Interview Question

Smart Pointers - how shared pointer works?