0 votes
in C Plus Plus by

What is the process to create increment and decrement statement in C?

1 Answer

0 votes
by

) There are two possible methods to perform this task.

1) Use increment (++) and decrement (-) operator.

Example When x=4, x++ returns 5 and x- returns 3.

2) Use conventional + or – sign.

When x=4, use x+1 to get 5 and x-1 to get 3.

Related questions

0 votes
asked Mar 17, 2020 in C Plus Plus by SakshiSharma
0 votes
asked Jan 13 in Sql by DavidAnderson
...