how do expressions fit into the concept of sequence controlS
how do expressions fit into the concept of sequence control?
Solution
Expressions are the building blocks for statements. An expression is a combination of variable constants and operators according to syntax of language. Properties as precedence rules and parentheses determine how expressions are evaluated.
In an operation with operands which can be constants, data objects and other operations, in other aspect Precedence and associativity are defined when the language is defined within the semantic rules for expressions. Conditional expressions and conditional constructs perform different actions depending on the programmer-specified Boolean condition evaluates to true or false. Linear representation of the expression tree such as prefix, postfix and Infix notations. Wherein prefix or postfix form requires stack, executed by an interpreter.
