Question: what is the difference between an expression and a statement in c++?
Answer: An expression is a instruction to be executed that returns a value (even if it returns a void ). A statement is used to form the sequence of a program (e.g. if-then , while-do statements). A statement can be simple or complex and can contain 0 or more expression.