Google News
logo
CPP - Interview Questions
What is an expression in C++?
An expression is a combination of operators, constants and variables. There seven types of expressions for examples :
 
* Constant expressions: 89 +10/4.0
* Integral expressions: x * y
* Floating expressions: 17.89
* Relational expressions: a<=b
* Logical expressions: a > b && a == 7
* Pointer expressions: *ptr
* Bitwise expressions: p << 5
Advertisement