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


Please Help Members By Posting Answers For Below Questions

main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

617


Why c is called a middle level language?

636


What is a ternary operator in c?

656


Explain what are its uses in c programming?

600


Where does the name "C" come from, anyway?

647






Why we use conio h in c?

591


Explain how do you print an address?

661


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1455


What is a string?

670


Why c is called procedure oriented language?

582


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

922


what are the different storage classes in c?

665


What is extern keyword in c?

648


What is variable initialization and why is it important?

623


How to declare pointer variables?

688