1.

Explain shorthand operators with an example.

Answer»

In C++ shorthand operators mean writing certain type of assignment statements in a simplified manner.

For example, if x = 5 and x + = 10 means x = x +10 i.e., x = 5 + 10 = 15.



Discussion

No Comment Found