Computer Science, asked by nitichakma146, 6 months ago

Write the statement equivalent of A++ n A-​

Answers

Answered by mad210202
0

Answer:

statement equivalent of A++ and  A-​-.

Explanation:

In the above question it is talking about Increment/Decrement Operators in programming language.

A++ shows Post Increment.

A-- shows Post Decrement.

Example :

  • A++ means that the value of A is increased by 1 .

Therefore, A=A+1;

Suppose a=2;

          a++;

Then output will be 3.

  • A-- means that the value of A is decreased by 1 .

Therefore, A=A-1;

Suppose a=2;

   a--;

    then output will be 1.

Similar questions