Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
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 turning on a particular bit in a number?
✍: FYIcenter
The bitwise OR operator. In the following code snippet, the bit number 24 is turned ON:
enum {
KBit1 = 0x00000001
KBit2 = 0x00000010,
KBit3 = 0x00000100,
...
};
some_int = some_int | KBit24;
2007-02-26, 8364👍, 0💬
Popular Posts:
What Is the Difference between Formal Parameters and Actual Parameters? - Oracle DBA FAQ - Creating ...
Can you explain different software development life cycles -part II? Water Fall Model This is the ol...
What is continuous and staged representation? CMMI contains 25 key process areas which organization ...
Can Sub Procedure/Function Be Called Recursively? - Oracle DBA FAQ - Creating Your Own PL/SQL Proced...
What are some uses of Intranets & Extranets? An "intranet" is the generic term for a collect...