1 point
What will be the output of the following expression:- a++ +--b when a=3
and b=4
Answers
Answered by
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
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
Computer Science,
3 months ago
French,
3 months ago
Geography,
3 months ago
Math,
8 months ago
English,
8 months ago
English,
1 year ago
Social Sciences,
1 year ago