Give a fast way to multiply a number by 7

Answer Posted / shiva

x=(x<<3)-x;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between malloc() and calloc() function?

659


Explain what are run-time errors?

612


What do you mean by a local block?

632


Why do we use null pointer?

609


How can a number be converted to a string?

611






How can I swap two values without using a temporary?

621


What are bitwise shift operators in c programming?

650


What is double pointer?

563


i got 75% in all semester am i eligible for your company

1743


What is the purpose of sprintf() function?

608


What is a constant and types of constants in c?

606


What is integer constants?

626


Under what circumstances does a name clash occur?

695


Is r written in c?

730


What does *p++ do?

590