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


Please Help Members By Posting Answers For Below Questions

Is the exit() function same as the return statement? Explain.

653


Why calloc is better than malloc?

565


What are runtime error?

616


Write a program to show the change in position of a cursor using c

573


What is #define used for in c?

606






What does c value mean?

614


What is array within structure?

574


C language questions for civil engineering

1233


Why we use void main in c?

584


What is difference between Structure and Unions?

632


What are the types of assignment statements?

622


Is r written in c?

718


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

3973


What is an auto keyword in c?

632


Explain can the sizeof operator be used to tell the size of an array passed to a function?

585