write a c programs to do multiplication of two numbers with
out using arithmatic operator ??????????

Answer Posted / mugdha

#include<stdio.h>
#include<conio.h>
void main()
{int i, j ,num1,num2;
printf("enter the value of num1 & num2");
scanf("%d%d",&num1,&num2);
for(i=1; i<=num1; i++)
for(j=1;j<=num2;j++)
{static int k=1;
k++;
)printf("%d\n",k);}

Is This Answer Correct ?    12 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know the use of 'auto' keyword?

650


What is build process in c?

634


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1342


What is a void pointer in c?

600


Why do some versions of toupper act strangely if given an upper-case letter?

624






What do you mean by c?

578


Why c is called a mid level programming language?

599


What is the stack in c?

709


write a progrmm in c language take user interface generate table using for loop?

1566


main() { printf("hello"); fork(); }

685


Can a program have two main functions?

563


What is the use of #define preprocessor in c?

607


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1422


What are the basic data types associated with c?

805


There seem to be a few missing operators ..

608