it should be 7, and it is duplicate of
https://gateoverflow.in/228305/compiler-single-static-assignment#c260022
@Shaik Masthan....brother This is the comment before I saw your solution to that question...now I got that!
@himgta
THEN SORRY !
it is recent question and you recently commented on this question... that's why i commented like that.
@Shaik Masthan sir...you are a true star,always ready for help!
Ans is 7
This can be converted to SSA as
a1 = b + c c1 = a1 + x d1 = b + c1 b1 = a1 + x
a1 = b + c
c1 = a1 + x
d1 = b + c1
b1 = a1 + x
so total count of variables is 7
sim1234 comment ME solution
64.3k questions
77.9k answers
243k comments
79.7k users