Juniper Networks interview question

Gave a C program and asked to explain the complete program execution with memory changes.