write a c programs to do multiplication of two numbers with
out using arithmatic operator ??????????
Answer Posted / vinay
#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 ? | 4 Yes | 2 No |
Post New Answer View All Answers
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
how can f be used for both float and double arguments in printf? Are not they different types?
What does nil mean in c?
Why is c so powerful?
Can i use “int” data type to store the value 32768? Why?
Explain what is the stack?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
shorting algorithmS
When should structures be passed by values or by references?
What is array within structure?
What is the difference between single charater constant and string constant?
Explain what math functions are available for integers? For floating point?
List the difference between a While & Do While loops?
What are called c variables?
What are compound statements?