Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Bitwise Operations
Which bit wise operator is suitable for checking whether a particular bit is on or off?
✍: FYIcenter
The bitwise AND operator. Here is an example:
enum { KBit1 = 0x00000001 KBit2 = 0x00000010, KBit3 = 0x00000100, ... }; if ( some_int & KBit24 ) printf("Bit number 24 is ON\n"); else printf("Bit number 24 is OFF\n");
2007-02-26, 8136👍, 0💬
Popular Posts:
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, ...
What does address of operator do in background? The AddressOf operator creates a delegate object to ...
Rachel opened her math book and found that the sum of the facing pages was 245. What pages did she o...
What is the concept of XPOINTER? XPOINTER is used to locate data within XML document. XPOINTER can p...
How can I construct preprocessor if expressions which compare strings? You can't do it directly; pre...