Computer Science, asked by kartikeyv125, 6 months ago

1 point
What will be the output of the following expression:- a++ +--b when a=3
and b=4​

Answers

Answered by BrainlyProgrammer
2

Answer:

6

Explanation:

a++ + --b. //now the value of b changes to 3

3 + 3. //now the value of a changes to 4

6 is your answer

Mark me Brainliest Bro

Answered by anindyaadhikari13
1

Answer:-

Given,

a=3

b=4

Now,

a++ + --b

=3+3

=6

Now, a=4,b=3

Output:-

a++ + --b = 6

a=4

b=3

Similar questions