FIS Interview Question

Question around references and pointer, difference between them, use of temp variable