In a piece of code I came across this operator % called modulo but what exactly is the purpose of it? how dows it work and what does it return? Let's assume I have this piece of code:
int a,b,c;
a = b % c;
What will a be then if b is 5 and c is 2 and why?