Juniper Networks Interview Question

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