What is the multiply-by-value operator?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the multiply-by-value operator?
Rating:
The multiply-by-value operator is an assignment operator. Its sign is *=. When this operator is used, the operands on the right side are multiplied and the result is assigned to the left operand. Let us see this by an example.
This statement means x=x*y.
If the value of x is 2 and the value of y is 5, the result value will be 10, and it will be assigned to x.
Rating:
Was this information helpful?
Other articles
- How to use the write method?
- What is a function?
- What is the host property of the server object?
- What is the checked property?
- What is the onreset event handler?
