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
how to count no of words,characters,lines in a paragraph.
How do we declare variables in c?
Can a variable be both static and volatile in c?
How can you find the exact size of a data type in c?
Subtract Two Number Without Using Subtraction Operator
What are the preprocessor categories?
In C programming, what command or code can be used to determine if a number of odd or even?
What is the difference between typedef and #define?
What are the types of bitwise operator?
What are the different properties of variable number of arguments?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
What is #pragma statements?
What is the difference between break and continue?
What is the difference between text files and binary files?
How do you use a 'Local Block'?