2 ms·
!!x gives you 0 if x is zero and 1 if x is anything else. !x gives you 1 if x is zero and 0 if x is anything else.
by saagarjha 6y ago
!!x gives you 0 if x is zero and 1 if x is anything else. !x gives you 1 if x is zero and 0 if x is anything else.