Computer Science, asked by kayamuddinansari9199, 3 months ago

If a = 8; find the value of a- = ++a + a++ + 4;​

Answers

Answered by falgunipatra
0

Answer:

22

Explanation:

++ a means a will increase by 1 which=9

a++ means first put the value of a then increase its value

+4

++a = 9

a=9

++then a value will be increased that is 10

+4

when there is ++ before the variable then first do increase by 1 and then put the new value

and if after the variable ++ is there then first put the value then increase by 1 and solve

please mark my answer as the brainlest answer

Similar questions