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

Still curious? Ask our experts.

Chat with our AI personalities

JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
RossRoss
Every question is just a happy little opportunity.
Chat with Ross

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


What is the difference between modulo and modulus in mathematics?

In mathematics, "modulo" refers to the operation of finding the remainder after division, while "modulus" refers to the absolute value of a number.


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 are some common applications of the modulus operator in programming languages?

The modulus operator in programming languages is commonly used for tasks such as determining if a number is even or odd, calculating remainders in division operations, implementing cyclic patterns, and indexing elements in arrays or lists.


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.