Consider the SDD given below: C → DC1 { D.val = CDval } /*Production 1*/ C2…
Consider the SDD given below:
C → DC1 { D.val = CDval } /*Production 1*/
C2 →*DC3 { C2 .val = C3 .val × D.val} /*Production 2*/
Which of the given option is correct w.r.t the above SDD?
- A.
Production 2 follows S-attributed definition but not L-attributed definition.
- B.
Production 1 has only inherited attribute.
- C.
This SDD follows only L-attributed definition but not S-attributed definition.
- D.
None of the above.
Attempted by 131 students.
Sign up free to check your answer
Sign up freeLoading lesson…

