Home / Questions / Write one difference between / and % operator.
Explanatory Question

Write one difference between / and % operator.

👁 86 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

/ operator computes the quotient whereas % operator computes the remainder.

What is the difference between / and % operator?
Figure: What is the difference between / and % operator?