CREATE OWN LIBRARY

Precedence order:

 

Precedence order of some operator

 

( ) > * > . > +

 

Example: a*. b + c it has solved by two ways: 

 

  1. (a)* (b + c)
  2. ((a* . b) + c)

In that case we use precedence to avoid ambiguity: ((a*.b) + c)

 

Another Precedence

 

Left to Right associative

 

Example:

 

 

It has solved in two ways,