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
Is the exit() function same as the return statement? Explain.
Why calloc is better than malloc?
What are runtime error?
Write a program to show the change in position of a cursor using c
What is #define used for in c?
What does c value mean?
What is array within structure?
C language questions for civil engineering
Why we use void main in c?
What is difference between Structure and Unions?
What are the types of assignment statements?
Is r written in c?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
What is an auto keyword in c?
Explain can the sizeof operator be used to tell the size of an array passed to a function?