Assignment Operators:-
The assignment operator is = We can assign the value right side of the expression to a left side of the variable is called "Assignment Operator"
Ex :- p = 23 a = 46Ternary Operators:-
The ternary operator is double equal to(==) Left side of the expression is equivalent to right side of the expression, right expression is equal to left side of the expression. It is known as "ternary operator".
Ex :- s == 2 p == 10
No comments:
Post a Comment