Modulus in c programming
![]() |
Modulus |
Finding modulus in c programming is so easy. We just need to use % to find the mod.
For example, if the question is X mod Y, we need to simply use X % Y.
The following code calculate the modulus value:
"Happy Coding"