HCLTech Interview Question

Explain the working of a compiler with a program