0
What is the use of modulus %in c
2 ответов
+ 2
% is modulo operator
it return reminder of whole division...
20 % 6 => 20 == (3 * 6) + 2
20 // 6 == 3
20 % 6 == 2
+ 1
https://www.sololearn.com/discuss/1860632/?ref=app
https://www.sololearn.com/discuss/1854398/?ref=app
https://www.sololearn.com/discuss/189796/?ref=app
https://www.sololearn.com/discuss/289101/?ref=app
https://www.sololearn.com/discuss/112186/?ref=app
https://www.sololearn.com/discuss/41617/?ref=app
https://www.sololearn.com/discuss/1898498/?ref=app
https://www.sololearn.com/discuss/1500767/?ref=app
https://www.sololearn.com/discuss/4858/?ref=app
https://www.sololearn.com/discuss/26415/?ref=app
https://www.sololearn.com/discuss/1826085/?ref=app
https://www.sololearn.com/discuss/1121330/?ref=app
https://www.sololearn.com/discuss/961596/?ref=app
https://www.sololearn.com/discuss/2277807/?ref=app
https://www.sololearn.com/discuss/2530503/?ref=app
https://www.sololearn.com/discuss/230615/?ref=app
https://www.sololearn.com/discuss/537204/?ref=app
https://www.sololearn.com/discuss/901083/?ref=app
Use the search bar please.