Originally posted by chichih Lin:
The problem is "when b2(false) = false is compared it is true,"
b2 = false is a assignment, not a comparsion, overall result is false then.
hi lin
i want a clarification the stat
if (b=b1!=b2){
------
}
irrespective of values of b,b1,b2
final thing in 'if' is assignment b=false / b=true
the assignment operation is a success so it is true (my guess).
so the o/p must be true,so whats actually happening ?
can u pull me out from my doubt.
---sai