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
what is the different bitween abap and abap-hr?
Is c object oriented?
How can you determine the size of an allocated portion of memory?
What is a dynamic array in c?
What is a constant?
What are examples of structures?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
Are pointers really faster than arrays?
What is an array? What the different types of arrays in c?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What are the advantages of Macro over function?
What does the message "automatic aggregate intialization is an ansi feature" mean?
What is a scope resolution operator in c?
What is c variable?
What are the types of type specifiers?