KPIT Technologies interview question

Write a program using pointers