EY Interview Question

Explain about pointers and write code for call by value and reference