If
a= 6; Find the value of a+=(a--) – (--a)
Answers
Answered by
1
Answer:
8
Explanation:
a = a+ a-- - --a
a = 6 + 6 - 4 = 8
Answered by
0
Answer:
In Computer Science
Explanation:
Depends on the programming language. In C and C++ (most likely candidates for this kind of misguided questions), the values of a and b, if any, are meaningless garbage because the expression “(++a) + (a++) + (a++)” has no meaning in those languages. Formally, it is undefined due to sequence point violations.
Similar questions