Give a fast way to multiply a number by 7

Answer Posted / thejonath

int i=2,j;
j=i;
i=(i<<3)-j;

Is This Answer Correct ?    100 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to display all prime numbers

1461


How reliable are floating-point comparisons?

632


What does 3 periods mean in texting?

604


What is c language used for?

563


Why #include is used in c language?

605






Which is better pointer or array?

606


Is c is a high level language?

626


If errno contains a nonzero number, is there an error?

809


What is wild pointer in c?

613


How can I generate floating-point random numbers?

613


What is the process of writing the null pointer?

611


Explain enumerated types.

602


What are the standard predefined macros?

639


Why is C language being considered a middle level language?

658


How does #define work?

652