D. E. Shaw India interview question

when do macros get expanded?