answersLogoWhite

0


Best Answer

Divison is a divison of two integers and result is stored in some where.

where as Modulus is remainder is stored in some where.

EX:DIVISION 45/4=11

MODULUS 45%4=1

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between division and modulus operator?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

In a programming language what is the difference between division and modulus?

Division provides Quotient whereas Modulus provides Remainder.


What is an arithmetic operator in c program?

An arithmetic operator is any of the "atomic" operators to do the following math operations: + addition - subtraction / division * multiplication % modulus division


The modulus operator can be used only with integer operands?

Yes, the modulus operator (%) is used to find the remainder of a division operation between two integers. It can only be used with integer operands in programming languages. If you try to use it with non-integer operands, you may encounter errors or unexpected results.


How do you find the remainder of a division on python?

You use the modulus operator: % example: 7 % 2 will output a remainder of 1.


What does the percent mean in Java?

The percent sign in Java is the modulus operator. Modulus is used to find the remainder from a division For example if you did int x = 10 % 6; x would be equal to 4. 10 divided by 6 has a remainder of 4. The modulus operator can be used to determine whether a number is divisible by another among other things.


What operator performs division but instead of returning the quotient it returns the remainder?

Modulus page 46 Programming Logic and Design by Tony Gladdis


What is the function of the modulus operator in most languages?

Calculating the modulus of two numbers. Are you surprised now?


Is modulus of difference between two positive integers positive?

The modulus would be described as the distance between, it is without direction and would therefore always be positive.


The modulus operator percent can be used only with integer operands?

True


Which operator in 'c' takes only integer operands?

modulus (%) and shift (<<, >>) for examples.


What does difference in math?

Subtraction followed by modulus does difference.


What The modulus operator percent can be used only with integer operands is true or false?

true