Expressions and Operators in C Language

In this tutorial, you will learn about what are Expressions and Operators in C Language.

An expression consists of operators and variables. An expression is a sequence of operators and operands that do one or a combination of the following:

  1. specifies the computation of a value
  2. designates an object or function
  3. generates side effects

An operator performs an operation (evaluation) on one or more operands.

An operand is a sub expression on which an operator acts.

A computer is different from calculator in a sense that it can solve logical expressions also. Therefore, apart from arithmetic operators, C also contains logical operators.

 

Leave a Reply

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

%d bloggers like this: