Tech Mahindra interview question

Pointers vs Variables