1.

What is the use of assignment operator? Give an example.

Answer»

The assignment operator ‘=’ is used for assigning a variable to a value. This operator takes the expression on its right-hand-side and places it into the variable on its left-hand-side.

For example: m = 5;



Discussion

No Comment Found