Talk:Bitwise operations in C
|This article is the subject of an educational assignment at College Of Engineering Pune supported by Wikipedia Ambassadors through the India Education Program during the 2011 Q3 term. Further details are available on the course page.|
This page is under development. We feel that a page on bitwise operations detailing only in C-programming language needs an independent page. Please co-operate. Any discussions or any suggestions are respectfully welcomed. Please write them here. Thakarepiyush (talk) 14:27, 15 September 2011 (UTC)
Hi. Thanks, this article was helpful. I've never seen the term "EX-OR" used anywhere else though. I think "XOR" is the standard. — Preceding unsigned comment added by 126.96.36.199 (talk) 15:59, 25 November 2012 (UTC)
This page is very useful, but could you explain this example a little more:
If the variable ch contains the bit pattern 11100101, then ch >> 1 will give the output as 11110010, and ch >> 2 will give 01111001.
What happens to the bits shifted in on the left? Why does ch >> 1 leave a 1 on the left, but ch >> 2 leaves a 0? And what does "unsigned type" mean? — Preceding unsigned comment added by 188.8.131.52 (talk) 10:26, 15 January 2014 (UTC)