Skip to main content
5 events
when toggle format what by license comment
Nov 26, 2017 at 17:25 comment added sinister In that particular example I mentioned, you could do return n%2, but that wasn't the point I meant to highlight, I wanted to show that this operator can be used with return statements as it has been used with assignment operator in the question
Nov 24, 2017 at 3:30 comment added Aryan Jain @sinister cant u just use return n%2
Oct 30, 2014 at 10:06 comment added tofanheu Thanks for this!
Sep 23, 2014 at 15:12 vote accept Jesse
Sep 23, 2014 at 15:11 history answered sinister CC BY-SA 3.0