Contents Introduction Names Variables The Concept of Binding Type Checking Strong Typing Type Equivalence Scope Scope and Lifetime Referencing Environments Named Constants Introduction


(2) Stack-dynamic: Storage bindings are created for variables when their declaration statements are elaborated



Download 396.24 Kb.
Page8/16
Date18.02.2022
Size396.24 Kb.
#58269
1   ...   4   5   6   7   8   9   10   11   ...   16
13516098

(2) Stack-dynamic: Storage bindings are created for variables when their declaration statements are elaborated.

(2) Stack-dynamic: Storage bindings are created for variables when their declaration statements are elaborated.

I.e. A declaration is elaborated when the executable code associated with it is executed)

e.g. local variables in C subprograms and Java

methods


int sum;

int fun1(int a, float b)

{

static int cnt;

int i, j;



}

Categories of Variables by Lifetimes


Download 396.24 Kb.

Share with your friends:
1   ...   4   5   6   7   8   9   10   11   ...   16




The database is protected by copyright ©ininet.org 2024
send message

    Main page