Consider the following SDT-
A -> A#B { A.val = A1.val + B.val }
A -> B {A.val = B.val}
B -> B$C {S1}
B -> C {B.val = C.val}
C -> num {C.val= number}
If the expression 8 # 6 $ 2 # 8 $ 6 # 2 $ 1 is evaluated to 70 then which of the following rule will be placed at S1?
B .val = B .val-C .val
B .val = B .val*C .val
B .val = B .val+C .val
None of these
Boost your performance with adaptive practice tests
Practice every concept in the syllabus
Compare your speed and accuracy with your peers
Download the app and practice on the go