Give a fast way to multiply a number by 7
Answer Posted / mani
n=n*7;
| Is This Answer Correct ? | 9 Yes | 47 No |
Post New Answer View All Answers
What are different types of operators?
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); } }
What are near, far and huge pointers?
How can I write functions that take a variable number of arguments?
How can a program be made to print the line number where an error occurs?
What is the best way to comment out a section of code that contains comments?
Is there a built-in function in C that can be used for sorting data?
Where are c variables stored in memory?
What are local variables c?
How can I read data from data files with particular formats?
Where local variables are stored in c?
Who is the founder of c language?
What is the advantage of c?
Difference between linking and loading?
What is the role of && operator in a program code?