Computer Science, asked by pankajtrivedi222, 1 month ago

Solve the following expression and write the final values of variables a, b and c. If initially a=5, b=7, c=6 a=-b+++a-c---b+b*c​

Answers

Answered by soumyadipgayen2008
3

Answer:

Increment and decrement operators are unary operators that add or subtract one, to or from their operand, sequentially. They are commonly implemented in imperative programming languages like java, c, c++ the increment operator increments the value of the variable by one, and similarly, the decrement operator decrements the value of the variable by one.

a=6

a++ // a becomes 7

++a // a becomes 8

a-- // a becomes 7

--a // a becomes 6

Please give me thank pls please thank me

Similar questions