Computer Science, asked by jayasriskp, 6 hours ago

Explain about Increment and Decrement Operators, Class 9, ICSE.


NO SPAMMING ALLOWED..
SPAMMING ANSWERS WILL BE REPORTED AND DELETED

Answers

Answered by ZubairSarookh
0

Answer:

hi ..

Explanation:

Increment Operator is used to increase the value of the operand by 1 whereas the Decrement Operator is used to decrease the value of the operand by 1.

mark as brainliest

Answered by adarshpn1209
1

Answer:

Syntax of Increment

<variable name>++

Syntax of Decrement

<variable name>--

Explanation:

Increment operator is used to increase the value by 1

Ex:- int a = 10;

int b = a++;

// a will become 10+1 = 11

Decrement operator is used to decrease the value by 1

Ex:- int a = 5;

int b = a++;

// a will become 5-1 = 4

Similar questions