🧠Guess The Output Of The Java Program🤔#3 | #shorts #java #coding #programming #javaoutput #guesstheoutput
.
.
Explanation :-
Here, we used pre and post-increment operators with variable 'a' and 'b'. The pre-increment operator will evaluate before the expression and post-increment operator will evaluate after the expression.
The value of variable 'a' will be 11 and the value of 'b' will be 21 because of pre-increment operator. Let's evaluate the expression,
c = ++a + ++b * 2+a++;
Now remove all pre and post-increment operators from the expression,
c = a +b * 2+a;
c = 11+21*2+11;
c = 11+42+11’
c = 64;
.
.
🚫☠DON'T CLICK THIS☠🚫 :https://bit.ly/3xDdzJz
.
.
Do not forget to like share and subscribe guys 💖