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 emoji p mean?
What are static variables in c?
What are the different data types in C?
Is null always defined as 0(zero)?
Explain what is the difference between the expression '++a' and 'a++'?
Stimulate calculator using Switch-case-default statement for two numbers
What are the key features in c programming language?
What is data types?
Can one function call another?
Define VARIABLE?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
How can you read a directory in a C program?
What do you mean by scope of a variable in c?
Explain how can I right-justify a string?
What are the advantages of external class?