D. E. Shaw India Interview Question

when do macros get expanded?