GUVI
Back

Unable to understand the output

Created 2 years ago
35 Views
2 Comments
MohammedHannan
@MohammedHannan
MohammedHannan
@MohammedHannanProfile is locked. Login

For the following code i am not able to understand how output came as 48.

.public class ControlStatement {
public static void main(String[] args) {
int a=25;
if(a-->a--){
{
a='0';
}
}
else
--a;
System.out.print(a);
}
}
Comments (2)
Please login to comment.
 
Powered by habitate.io Habitate