0
What is the (%) concept in programming?
5 Answers
+ 6
% operator returns remainder obtained as a result of division.
5 % 2 = remainder obtained when 5 is divided by 2 = 1
+ 6
1%2 = 1 as 1 is 0 times 2 plus 1 (0*2+1).
0
ok sir krishna
0
what 1%2=?
0
'%' is remainder or modules operator. It is different from '/' which is divide operator.