Dear sir ,
I have problem with this question . the probelm that --
when i m dry run on copy and calcualte the result it will
differ from the system result.
i want to know the process for solving this expression on the copy .
my program is that
class Complex_Exp
{
public static void main(String args[])
{
int a = 5;
int b = 5;
int c = 2,d=3,m=5,n=4;
int k = (a++ + --b & b<<2 - c/d +m&n);
System.out.println("The value of k is "+k);
}
}
Result of this program is 0 . it is true but when i calculate on on
copy with the pan it differ . i want to know what is process going on
in the system . what isj operator precedenc in this expression
i hope i will get a good logic behind it .
thanks and regards
sanjeev kr rai