Question: Subject: Compiler Construction Q.5 (CLO4) (4 marks) Draw a possible organization for the run time environment of the following C program. a) After entry into

Subject: Compiler Construction
Q.5 (CLO4) (4 marks) Draw a possible organization for the run time environment of the following C program. a) After entry into block A in function f. (2) b) After entry into block B in function g. (2) int a[10]; char * s= "hello; int f(int i, int b[]) void g (char * s) { main 0 { char c = s[0]; { int x= 1; int j=i; B: { int a [5]; x= f(x, a); A: { int i=j; g(s); char c= b[i]; return 0; } } } return 0 }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
