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


Please Help Members By Posting Answers For Below Questions

can we have joblib in a proc ?

1653


What is huge pointer in c?

583


Explain what is wrong with this statement? Myname = ?robin?;

1019


Find MAXIMUM of three distinct integers using a single C statement

624


Explain how can I right-justify a string?

625






Explain how do you determine the length of a string value that was stored in a variable?

670


What is an array? What the different types of arrays in c?

658


What is call by reference in functions?

567


How to set file pointer to beginning c?

666


Explain how can I convert a number to a string?

648


What are control structures? What are the different types?

596


How to declare pointer variables?

686


Define Array of pointers.

633


What is scope rule in c?

603


write a program to create a sparse matrix using dynamic memory allocation.

4373