Write the scope of a declaration

A portion of the program to which a declaration applies is called the scope of that declaration. An occurrence of a name in a procedure is said to be local to procedure if it is in the scope of a declaration within the procedure, otherwise the occurrence is said to be non local.

 

Leave a Reply