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
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What is maximum size of array in c?
Write a C program to count the number of email on text
What is ## preprocessor operator in c?
What are volatile variables in c?
Can you please explain the difference between syntax vs logical error?
What does char * * argv mean in c?
In a switch statement, explain what will happen if a break statement is omitted?
What is the difference between union and structure in c?
Explain modulus operator.
What happens if you free a pointer twice?
What are the characteristics of arrays in c?
Do you know the difference between exit() and _exit() function in c?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
Why is it important to memset a variable, immediately after allocating memory to it ?