Give a fast way to multiply a number by 7

Answers were Sorted based on User's Feedback



Give a fast way to multiply a number by 7..

Answer / shivangi

Hi Tejonath
What is your logic in your answere.Its absolutely correct.
I'm asking is there any generic way to do this?could you
please reply here or answere me to
verma_shivangi@yahoo.co.in

Is This Answer Correct ?    4 Yes 9 No

Give a fast way to multiply a number by 7..

Answer / siva

Hi Tejonath
What is your logic in your answere.Its absolutely correct.
I'm asking is there any generic way to do this?could you
please reply here or answere me to gvsivannarayana@yahoo.com

Thanks&Regards
siva..

Is This Answer Correct ?    4 Yes 11 No

Give a fast way to multiply a number by 7..

Answer / anveshbanti

void main()
{
int a=i;
printf(enter i value");
scanf("%d",&i)
int res=i*7;
printf("result is " res);
}

Is This Answer Correct ?    2 Yes 19 No

Give a fast way to multiply a number by 7..

Answer / mani

n=n*7;

Is This Answer Correct ?    9 Yes 47 No

Give a fast way to multiply a number by 7..

Answer / atul sharma

(x<<2)-1

Is This Answer Correct ?    15 Yes 89 No

Post New Answer

More C Interview Questions

please explain every phase in the "SDLC" in the dotnet.

0 Answers  


a c code by using memory allocation for add ,multiply of sprase matrixes

0 Answers  


find largest of 3 no

8 Answers  


What is structure padding & expalain wid example what is bit wise structure?

1 Answers  


Difference Between embedded software and soft ware?

1 Answers   Bosch,






create an SINGLE LINKED LISTS and reverse the data in the lists completely

3 Answers  


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

0 Answers  


write a programme that inputs a number by user and gives its multiplication table.

2 Answers  


main() { char x; while(x=0;x<=255;x++) printf("\nAscii value %d Charater %c",x,x); }

2 Answers  


what are the advantages of a macro over a function?

0 Answers   TCS,


Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;

2 Answers   Lucent,


Given a piece of code int x[10]; int *ab; ab=x; To access the 6th element of the array which of the following is incorrect? (A) *(x+5) (B) x[5] (C) ab[5] (D) *(*ab+5} .

2 Answers   Oracle,


Categories