Computer Science, asked by bhaiakhtar04, 6 months ago

Which of the following is an assignment operator?
=
>
<
>=

Answers

Answered by roshni6286
0

Answer:

=.

Explanation:

Assignment operator are += , -= ,*= , /= , **= .

Answered by amardeeppsingh176
0

Answer:

Explanation:

An assignment operator is '='.

An assignment operator is the operator used to assign a new value to a variable, property, event, or indexer element. Additionally, logical operations including bitwise operations, operations on integral operands, and operations on Boolean operands can be performed using assignment operators.

Contrary to C++, user-defined types in C# can overload operators like +, -, and /. However, assignment operators in C# cannot be explicitly overloaded. This makes it possible to utilise the assignment operator with those kinds.

The property or indexer must have a set accessor in order to use the "=" operator for an assignment with the left operand serving as the property or indexer access.

The assignment operator = sets a variable's value to the value of its right-hand operand. The value that was assigned to the left-hand operand is the outcome of an assignment expression.

The correct answer is '=' .

#SPJ2

Similar questions