write a program for 7*8 = 56 ? without using * multiply
operator ? output = 56
Answer Posted / raju kalyadapu
int main()
{
int i=0,n=0;
while(i++<8)
n=n+7;
printf("7 * 8 is:%d",n);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
What is the sizeof () operator?
What is data structure in c programming?
How can I convert a number to a string?
What does %d do in c?
What do header files do?
How do you construct an increment statement or decrement statement in C?
Differentiate between declaring a variable and defining a variable?
Why c is faster than c++?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
code for replace tabs with equivalent number of blanks
How do shell structures work?
Can include files be nested? How many levels deep can include files be nested?
What is #include stdio h and #include conio h?
What is the difference between int main and void main in c?