Contents    Page-10    Prev    Next    Page+10    Index   

Most operators in programming languages are:

  • A: right-associative
  • B: null-associative
  • C: left-associative
  • D: dissociative
  • E: commutative

    Answer: C

    A few languages, such as Smalltalk and Python, do not have precedence and proceed left-to-right. However, all mainstream languages use precedence; a compiler is required to process a language as defined by the language standard.