Question: 3. Consider the following code fragment. int a; extern int b; static int c; void f(int d, register int e) { auto int g;

3. Consider the following code fragment. int a; extern int b; static

 

3. Consider the following code fragment. int a; extern int b; static int c; void f(int d, register int e) { auto int g; int h; static int i; extern int ji } register int k; For each variable in the table below, give its storage duration (static or automatic), scope (file or block) and linkage (external, internal, none). Name a b d e f g h i j k Storage Duration Scope Linkage

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!