Wednesday, January 13, 2010
11.2 BITWISE OPERATIONS
Some applications require the manipulation of individual bits within a word of memory. Assembly language or machine language is normally required for operations of this type. However, C contains several special operators that allow such bitwise operations to be carried out easily and efficiently.These bitwise operators can be divided into three general categories: the one's complement operator, the logical bitwise operators and the shift operators. C also contains several operators that combine bitwise operations with ordinary assignment.Each category is discussed separately below.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment