+ 2
Explain please
6 Answers
+ 8
Krishna while(a++>25 )
a is 3 when it enters while loop since 3 is not greater than 25 it exits while loop and a value becomes 4
+ 4
a++ increments the value of a afterwards
a is 25 now
++a //increments it immediately ,a is 26 now
while(a++ <25) loop is checked here a++ increments it value by 1 afterwards and so a is 27 now
+ 4
You're welcome!âïž
+ 2
Abhay I changed the code
Sorry I need the explanation for the recent one......
+ 2
Abhay thank you đ
+ 1
But why I'm getting the output as 4?