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
Does c have enums?
What is the most efficient way to store flag values?
What is the process to generate random numbers in c programming language?
What 'lex' does?
When should volatile modifier be used?
What is meant by recursion?
application attempts to perform an operation?
why programs in c are running with out #include
What's the difference between constant char *p and char * constant p?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Whats s or c mean?
Can a file other than a .h file be included with #include?
What is the scope of local variable in c?
What is a macro in c preprocessor?
How would you obtain the current time and difference between two times?