Talk:Bitwise operations in C

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject C/C++  
WikiProject icon This article is within the scope of WikiProject C/C++, a collaborative effort to improve the coverage of C/C++ on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 ???  This article has not yet received a rating on the quality scale.
 ???  This article has not yet received a rating on the importance scale.
 

Hello[edit]

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 66.188.89.180 (talk) 15:59, 25 November 2012 (UTC)

Thanks for creating this page. Just wanted to mention that the first External Link seems to be broken. — Preceding unsigned comment added by 69.12.159.96 (talk) 16:03, 30 May 2013 (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 129.215.138.131 (talk) 10:26, 15 January 2014 (UTC)