Open In App

What is an Expression and What are the types of Expressions?

Expression: An expression is a combination of operators, constants and variables. An expression may consist of one or more operands, and zero or more operators to produce a value.



Example:

a+b
c
s-1/7*f
.
.
etc

Types of Expressions:



Expressions may be of the following types:

Note: An expression may also use combinations of the above expressions. Such expressions are known as compound expressions.

Article Tags :