Kantar interview question

Aske about C++ coding..