write a c programs to do multiplication of two numbers with
out using arithmatic operator ??????????
Answer Posted / vivekananda
#include<stdio.h>
void main()
{
int num = 2;
res = num << 1; //multiplication by 2
printf("%d\n",res);
}
| Is This Answer Correct ? | 24 Yes | 37 No |
Post New Answer View All Answers
How do c compilers work?
What is auto keyword in c?
What is the ANSI C Standard?
Do string constants represent numerical values?
How is a pointer variable declared?
what is uses of .net
Explain that why C is procedural?
What is storage class?
Why is python slower than c?
Explain void pointer?
Explain how do you list files in a directory?
What is the newline escape sequence?
What is %d used for?
explain what are actual arguments?
What are data structures in c and how to use them?