When SQR Program starts executing. There are two stages in the Program Flow.
1) Compile stage
2) Execution Stage
) Compile Stage.
All the Preprocessor directives are compiled ( which starts with #include).
Ex: All the SQC are run.Check for the syntax errors for the conditions.
Ex: if, for loop, while loop are properly ended with the respective syntax.
Allocates memory structure , if you are using the Arrays and load look up .
2) Execution stage:
Starts interpreting the code line by line.
Check for the begin -program body.
Begin -heading.
Begin- footer.