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
Explain what are compound statements?
What is mean by data types in c?
What does typedef struct mean?
What is the difference between procedural and declarative language?
What is static and volatile in c?
what do u mean by Direct access files? then can u explain about Direct Access Files?
What is time complexity c?
What is include directive in c?
What are different types of variables in c?
Explain the Difference between the New and Malloc keyword.
Why & is used in c?
Why c is called a mid level programming language?
what do the 'c' and 'v' in argc and argv stand for?
What is meant by preprocessor in c?
What is 'bus error'?