Explain Assignment operator

Assignment operator: The operator (=) employed to store the value of an expression into the variable, for example:

Variable = expression;

The right-hand-side is entirely computed before the assignment is made. The assignment might, itself, be employed as a part of an expression. The subsequent assignment statement stores zero into both the variables.

x = y = 0;

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.