Give a fast way to multiply a number by 7
Answer Posted / anu
Both answers have slight mistakes in them.
x *7 = ( x<<3 ) - x , which is equivalent to (x* 8 ) -x
| Is This Answer Correct ? | 65 Yes | 6 No |
Post New Answer View All Answers
What does the error 'Null Pointer Assignment' mean and what causes this error?
Lists the benefits of c programming language?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What does %p mean?
Write a program to print “hello world” without using semicolon?
Explain what are the different file extensions involved when programming in c?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is the difference between a function and a method in c?
What are the different properties of variable number of arguments?
What is the difference between pure virtual function and virtual function?
What is the size of empty structure in c?
What will be your course of action for a push operation?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
Explain the difference between the local variable and global variable in c?
What are pointers in C? Give an example where to illustrate their significance.