February 2021
Beginner
338 pages
4h 11m
English
What is an expression? An expression can be operators and operands grouped to perform some calculations and yield a result. There are different kinds of expressions. There are arithmetic expressions, as in x + y; comparison expressions, as in x > y; assignment expressions, as in x = y; and logical expressions such as x && y.
An expression can consist of multiple sub-expressions, as in z = x + y. Here the x + y can be treated as an arithmetic sub-expression inside the assignment expression.
The entire expression is of a particular type. What that type is depends on the nature of the ...
Read now
Unlock full access