Wipro interview question

I was asked to write programming codes based on Pointers and DataStructures.