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:
What does the following code do and why would anyone write something like that?
What does the following code do and why would anyone write something like that?
void send (int *to, int * from, int count)
{
int n = (count + 7) / 8;
switch ( count % 8)
{
case 0: do { *to++ = *from++;
case 7: *to++ = *from++;
case 6: *to++ = *from++;
case 5: *to++ = *from++;
case 4: *to++ = *from++;
case 3: *to++ = *from++;
case 2: *to++ = *from++;
case 1: *to++ = *from++;
} while ( --n > 0 );
}
}
✍: Guest
2012-05-11, 3932👍, 0💬
Popular Posts:
What is normalization? What are different types of normalization? It is set of rules that have been ...
Can you explain duplex contracts in WCF? In duplex contracts when client initiates an operation the ...
How To Escape Special Characters in SQL statements? - MySQL FAQs - Introduction to SQL Basics There ...
Can we use the constructor, instead of init(), to initialize servlet? Yes , of course you can use th...
What's the difference between J2SDK 1.5 and J2SDK 5.0? There is no difference, Sun Microsystems just...