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 structuer?
about c language
Explain what is the difference between functions abs() and fabs()?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i",i); return 0; }
Write program to remove duplicate in an array?
What are structure types in C?
Place the #include statement must be written in the program?
2.main { int x,j,k; j=k=6;x=2; x=j*k; printf("%d", x);
What is the diffrent between while and do while statement ?
What is a function simple definition?
Explain union. What are its advantages?