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:
Shift Operations
What will the following piece of code do?
int f(unsigned int x) { int i; for (i=0; x!=0; x>>1) { if (x & 0x1) i++; } return i; }
✍: FYIcenter
Answer: returns the number of ones in the input parameter X.
2007-02-26, 6177👍, 0💬
Popular Posts:
what are the advantages of hosting WCF Services in IIS as compared to self hosting? There are two ma...
WHat will be the result of the following code? #define TRUE 0 // some code while (TRUE) { // some co...
Can you explain Forms authentication in detail ? In old ASP if you where said to create a login page...
What is COCOMO I, COCOMOII and COCOMOIII? In CD we have a complete free PDF tutorial of how to prepa...
What will be printed as the result of the operation below: main() { char *p1; char *p2; p1=(char *)m...