CodeClerks

Expressions and Their Types



Enter a reason for deleting this comment

Expressions and Their Types

Anexpression is a combination of operators, constants and variables arranged as per the rules of the language. It may also include function calls which return values. An expression may consist of one or more operands and zero or more operators to produce a value. Expressions may be of the following seven types:


· Constantexpressions
· Integralexpressions
· Floatexpressions
· Pointerexpressions
· Relationalexpressions
· Logicalexpressions
· Bitwiseexpressions


Anexpression may also use combinations of the above expressions. Such expressions
are known as compound expressions.

Comments