Becaus eof Bitwise and 0000 0000 0000 0110 (6) & 0000 0000 0001 0010 (10) 0000 0000 0000 0010 (2)
So 0&0 0 0&1 0 1&0 0 1&1 1 On Mon, Aug 1, 2011 at 3:31 PM, Vijay Khandar <vijaykhand...@gmail.com>wrote: > main() > { > int a=6,b=10,x; > x=a&b; > printf("%d",x); > } > > O/P=2 > Plz any one explain me ,how its come > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- Regards Rajeev N B <http://www.opensourcemania.co.cc> "*Winners Don't do Different things , they do things Differently"* -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.