Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
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, 6803👍, 0💬
Popular Posts:
What is the purpose of finalization? The purpose of finalization is to give an unreachable object th...
Have you ever worked with Microsoft Application Blocks, if yes then which? Application Blocks are C#...
What Are the Parameter Modes Supported by PL/SQL? - Oracle DBA FAQ - Creating Your Own PL/SQL Proced...
Explain all parts of a deployment diagram? Package: It logically groups element of a UML model. Node...
.NET INTERVIEW QUESTIONS - What is the difference between System exceptions and Application exceptio...