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
Do you know the use of 'auto' keyword?
What is build process in c?
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);
What is a void pointer in c?
Why do some versions of toupper act strangely if given an upper-case letter?
What do you mean by c?
Why c is called a mid level programming language?
What is the stack in c?
write a progrmm in c language take user interface generate table using for loop?
main() { printf("hello"); fork(); }
Can a program have two main functions?
What is the use of #define preprocessor in c?
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
What are the basic data types associated with c?
There seem to be a few missing operators ..