Re: [algogeeks] Explain the o/p

2011-06-29 Thread rajeev bharshetty
@ashwini singh Printf() returns the number of values printed to the output so printf("%d %d",2,2) returns 3 and the second printf returns 4 so bitwise and of 3 and 4 is 0 so i is 0 . further printf statements print the values and the last two printf statements have 3 & 3 so answer is 3. Regards

Re: [algogeeks] Explain the o/p

2011-06-29 Thread rajeev bharshetty
@ashwini singh Printf() returns the number of values printed to the output so printf("%d %d",2,2) returns 3 and the second printf returns 4 so bitwise and of 3 and 4 is 0 so i is o . Similar explanation to further printf statements . Regards Rajeev N B I Blog @ www.opensourcemania.co.cc On Wed,