write a c programs to do multiplication of two numbers with
out using arithmatic operator ??????????
Answer Posted / mohan0877
#include<stdio.h>
main()
{
int a,b,result;
print("Enter values of a and b :")
scanf{"%d %d",&a,&b};
result=0;
while(b!=0)
{
if(b&01)
resultresul+a;
a<<=1;
b>>=1;
}
}
| Is This Answer Correct ? | 3 Yes | 13 No |
Post New Answer View All Answers
Explain what are linked list?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
What is the process to generate random numbers in c programming language?
What is the process of writing the null pointer?
What are structural members?
What is an expression?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
Write a program to generate the Fibinocci Series
Can a variable be both constant and volatile?
Why do we use & in c?
What are directives in c?
What is the explanation for the dangling pointer in c?
What does emoji p mean?
What is a const pointer in c?
What is console in c language?