I am reading Kernighan and Ritchie, and honestly, I am not able to understand anything in the following sentence I encountered while reading:
Any integer is converted to a given unsigned type by finding the smallest non-negative value that is congruent to that integer,
modulo one more than the largest value that can be represented in the unsigned type.
Could anyone please clarify what congruent means here and try explaining to me what does this sentence exactly convey(if possible , with an example).
Thank you
P.S. I am referring to Appendix A Section A6.2 : Integral Conversions