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

which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2390


What is 'bus error'?

641


How do you print only part of a string?

609


What is a example of a variable?

551


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

647






What is a dynamic array in c?

587


What are multidimensional arrays?

656


What do you mean by dynamic memory allocation in c?

644


What are header files in c programming?

651


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

594


How can you check to see whether a symbol is defined?

585


Can you return null in c?

591


How old is c programming language?

571


What are local variables c?

547


What is identifiers in c with examples?

672