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 a structural principle?
why 'c' is called middle level language.
Are negative numbers true in c?
Why Modern OS are interrupt driven?Give an example
1. Write a program to reverse every second word in a given sentence.
Explain what is the general form of a c program?
main() { int a; a=++100; printf("%d",a); getch(); }
What is a pointer?
Do pointers need to be initialized?
What is boolean in c?
why division operator not work in case of float constant?
main() { enum _tag{ left=10, right, front=100, back}; printf("%d, %d, %d, %d", left, right, front, back); }