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 define directive?
Write c-code for 5+55+555+5555+55555+555555+5555555. Output will be it's answer...
what is the hardware model of CFG( context free grammar)
In which area global, external variables are stored?
What are variables and it what way is it different from constants?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
to get a line of text and count the number of vowels in it
What is the difference between char a[] = "string"; and char *p = "string"; ?
14 Answers Adobe, Honeywell, TCS,
Total of how many functions are available in c?
Which sorting algorithm is the best?
pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words )
What is function prototype?