What is the purpose of the following code?
Is there any problem with the code?
void send(int count, short *to, short *from) {
/* count > 0 assumed */
register 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);
}
}
No Answer is Posted For this Question
Be the First to Post Answer
What is non linear data structure in c?
Difference between exit() and _exit() function?
What are c preprocessors?
Why c language is called c?
How are structure passing and returning implemented?
Should a function contain a return statement if it does not return a value?
How can this be legal c?
What are the advantages of using macro in c language?
In C programming, what command or code can be used to determine if a number of odd or even?
What is const keyword in c?
How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...
What is pass by value in c?