Adore Infotech interview question

Question was based on C & C++ array and pointers only.