why most compiled programming languages most notably C and C influenced compiled languages such as C++ restrict program statements to be inside functions.