What is expression? How many types of expression does C++ support?

Q28. What is an expression? How many types of expression does C++ support?

Ans. An expression in C++ is any valid combination of operators, constants, and variables.

The expressions in C++ can be any type: arithmetic expression, relational (or logical) expression, compound expression etc.

Leave a Reply

Your email address will not be published. Required fields are marked *

85 Views
%d bloggers like this: