Assignment Operator in C - C-Tutorial

Latest

Wednesday, 16 November 2016

Assignment Operator in C

Assignment Operator:

            C language supports assignment operator as =.  Assignment operator is used to assign the result of an expression to any variables. 

            Syntax:           VariableName = Expression;

Here, the right hand side value is assigned to the left hand side variable.

            Example:        x = 10;

                                    y = x+25;

No comments:

Post a Comment