GlobalLogic Interview Question

technical questions : Basic about C++ , with structural relevance and some SQL queries