Computer Science, asked by aakrishnavenium, 1 year ago

What is an assignment operator? Give example of its usage.

Answers

Answered by maria9
4
an assignment operator is an operator which assigns a value to a variable.

eg -
1) = - it assigns a value to a variable
a = 45

ternery operators (?:) are called conditional assignment operator
Answered by ROYALJATT
4
Assignment operator is the one who assigns a value to a variable.

EXAMPLE :- Let there is a variable "a"
Now the work of Assignment operator is to who assigns a value to this variable.
like it assigns → a = 87

----------------------------------------------------------------------------------------------------------------
Best of luck ;)
ROYALJATT
Similar questions