Operators & Expressions in C++

Introduction
An operator is a symbol or letter which makes the compiler perform a specific operation on operands (variables) in a program.
An expression is a combination of operands ( i.e, constants, variables, numbers), and operators that perform a specific operation and parenthesis.
An expression is a sequence of operators that specifies a computation. an expression may result in a numerical value.
For example: x+y is an expression in which the sign + is an operator which specifies the addition operation. LEARN MORE >>

No comments: