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, 3825👍, 0💬
Popular Posts:
.NET INTERVIEW QUESTIONS - What are Daemon threads and how can a thread be created as Daemon? Daemon...
what are the advantages of hosting WCF Services in IIS as compared to self hosting? There are two ma...
.NET INTERVIEW QUESTIONS - What is the difference between System exceptions and Application exceptio...
What is the purpose of finalization? The purpose of finalization is to give an unreachable object th...
Can you explain in brief how can we implement threading ? Private Sub Form1_Load(ByVal sender As Sys...