Operators - =
Syntax:variable_name=expression
This operator assigns the result of an expression to a variable. You should take care to the data type, i.e. the variable should have the same data type as the expression. Otherwise implicit conversion takes place and perhaps that’s not what you want... Unlike other programming languages you can only use one assignment per statement. So you cannot write a=b=4; or x=y=sin(4)*z; |