• + 4 comments

    I had done the same before seeing discussions but I used j=i and I got wrong answer in the case of AND operator but after using j=i+1 the results matched. Will you explain why j=i was giving wrong answer for AND operator?