in Programming in C retagged by
498 views
1 vote
1 vote

How?

 

in Programming in C retagged by
498 views

5 Comments

max string match and  ++ is post increment operates on a

1
1
@am9 if any doubt go with the basic way how compiler will evaluate the statment...lexmes will be for a,++,+,b
means (a++)+b...also no problem in syntax analyser...it will treat it like a+b only...everything is fine ..so evaluate...
5
5
Thanks
0
0
@ Debashish, sudsho

Can we look this problem like this, as '++' has higher precedence than '+' so (a++)+b.

Please correct me if this is method is wrong.
0
0
^ yea its fine...assigning lexeme is also this thing only...
1
1

Please log in or register to answer this question.