Q : Explain the working of shorthand assignment operators, pre and post increment operator and the ternary operator.
Solution :
Assignment Operator
Prefix operator
Add or subtract a variable value
by one. There are two types of prefix operator increment and decrement. If use
in any expression or equation then first increment or decrement variable then
solve related equitation with new value of related variable.
int a,b=10;