Give a fast way to multiply a number by 7

Answer Posted / atul sharma

(x<<2)-1

Is This Answer Correct ?    15 Yes 89 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why use int main instead of void main?

601


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3058


What is 02d in c?

639


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1676


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

1016






In a switch statement, what will happen if a break statement is omitted?

605


What are dangling pointers in c?

647


Explain indirection?

650


difference between Low, Middle, High Level languages in c ?

1636


Are the expressions * ptr ++ and ++ * ptr same?

671


What is meant by errors and debugging?

651


will u please send me the placement papers to my mail???????????????????

1367


What are static variables in c?

631


Do you know the difference between malloc() and calloc() function?

617


What is || operator and how does it function in a program?

634