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

Explain 'far' and 'near' pointers in c.

700


what is recursion in C

604


What are unions in c?

572


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

574


in iso what are the common technological language?

1627






What does 3 mean in texting?

604


Why static is used in c?

616


Are pointers integers in c?

604


Is printf a keyword?

753


What is hungarian notation? Is it worthwhile?

689


Can we access the array using a pointer in c language?

555


What is meant by gets in c?

603


What is unary operator?

655


any "C" function by default returns an a) int value b) float value c) char value d) a & b

659


Why do we use int main?

602