Give a fast way to multiply a number by 7
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is array within structure?
which is the best antivirus and how to update it
What is array of structure in c?
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
What is printf () in c?
When should the const modifier be used?
void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }
What does sizeof return c?
write a function to find whether a string is palindrome or not and how many palindrome this string contain?
which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn 2)continue;} b.while(!expn 1){if(expn 2)continue;...} c.do{..if(expn 1)continue;..}while(expn 2); d.while(!expn 2){if(expn 1)continue;..}
Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);
What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }