answersLogoWhite

0


Best Answer

well, if u dont want the airthematic operator to be used for division and if the divisor is 2

here is the possible solution.

shift the dividend to right by one bit.

for eg: if the diviedend is 127 and divisor is 2, when 127 is shifted by one bit, it is 63

by normal division we get the same quotient(i.e int divided by int 127/2 =63).

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Division of a number without using arithmetic operators in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many operators in mathematics?

There are a huge number of arithmetic, algebraic and trigonometric operators.


What are symbols that specify addition subraction multiplication division percentage and exponentiation in an excel formula called?

operators (although, there is no specific percentage operation, only the percent symbol to show the number is a percent) Addition (+) Subtraction (-) Multiplication (*) Division (/) Exponent (^) operators Arithmetic operators are the symbols used in formulas to calculate values, such as addition (+), subtraction (-), multiplication (*), division (/), and exponentiation (^).


What are valid format symbols that can be entered with a number in Excel?

Excel does not use format symbols. If this question is asking about arithmetic operators, the symbols are:Addition (+)Subtraction (-)Multiplication (*)Division (/)Exponent (^)


What is meaning of Quotient?

The quotient is the answer in a division problem.


Is an arithmetic operation or combination of arithmetic operations that results to a number?

Yes, provided they are defined (ie excluding division by 0).


What is operator in java?

An operator is a symbol that does something in Java. for ex: "+" is an arithmetic operator that adds two numbers. ">" is a logical operator that checks if one number is greater than the other. There are many different types of operators in Java like Arithmetic, Logical, Relational and Assignment operators


How many operators are there in C Language?

There are several operators in the C programming language, which are used to perform various operations on variables and values. Here is a list of some of the most commonly used operators in C: Arithmetic operators: +, -, *, /, % (addition, subtraction, multiplication, division, modulus) Assignment operators: =, +=, -=, *=, /=, %=, &=, |=, ^=, = Comparison operators: ==, !=, , = (equal to, not equal to, less than, greater than, less than or equal to, greater than or equal to) Logical operators: && (AND), || (OR), ! (NOT) Bitwise operators: &, |, ^ (AND, OR, XOR) Increment and decrement operators: ++ (increment), -- (decrement) Conditional operator: ?: (ternary operator) It's important to note that there may be some additional operators depending on the specific C compiler or implementation being used.


What is the biggest number you can make all the digits in 71?

Using only the digits and the basic operators of arithmetic, 71. If other operators are allowed then 71! = 8.5*10101 approx, or 85 googol is one possible answer.


Can real number arithmetic be done without the use of a coprocessor?

Of course! People were doing real arithmetic long before the first computer!


What are the fundamental operations in decimal numbers?

The fundamental operations are operations in arithmetic: addition, subtraction, multiplication and division. These are the same whatever the base of the number system.


What is the number theory diff than arithmetic?

Number theory explains why arithmetic works.


What is the arithmetic mean of 1784298281?

The arithmetic mean of a single number, such as 1784298281, is the number itself.