Computer Science, asked by samridhibhuyan, 8 days ago

what is the meaning of b=a++ ?

Answers

Answered by sharmayachna95
1

Answer:

a =+ b; is equivalent to a = +b; . This means +b (positive) is assigned to variable a . a++ is post increment of variable a , meaning the value of the variable is used before incrementing by 1 . ++a is pre-increment of variable a , meaning the value of the variable is incremented by 1 and used after increment.

Answered by Wardaayaz
1

Answer:

This means +b (positive) is assigned to variable a . a++ is post increment of variable a , meaning the value of the variable is used before incrementing by 1 . ++a is pre-increment of variable a , meaning the value of the variable is incremented by 1 and used after increment.

Explanation:

please make me brilliant

Similar questions