Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (28)
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 (27)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
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, 5567👍, 0💬
Popular Posts:
What are the standard ways of parsing XML document? XML parser sits in between the XML document and ...
What are the core functionalities in XML .NET framework? Can you explain in detail those functionali...
What does XmlValidatingReader class do? XmlTextReader class does not validate the contents of an XML...
What will happen in these three cases? if (a=0) { //somecode } if (a==0) { //do something } if (a===...
What is Traceability Matrix? Traceability Matrix is one of the document will prepare by QA.To make s...