write a program for 7*8 = 56 ? without using * multiply
operator ? output = 56
Answer Posted / rama krishna sidhartha
Here is the logic.
void func()
{
int i;
int result = 0;
for(i = 0; i < 8; i++)
{
result = result + 7;
}
printf("%d",result);
}
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What does %c mean in c?
Write a program of prime number using recursion.
please send me the code for multiplying sparse matrix using c
What is wrong with this program statement? void = 10;
hi any body pls give me company name interview conduct "c" language only
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
What is c definition?
What is strcmp in c?
What is the sizeof () operator?
What is pointer & why it is used?
How many identifiers are there in c?
What are extern variables in c?
How is a structure member accessed?
What is 02d in c?
What are the different types of C instructions?