Q:

if(-1) true or false

any non-zero (positive/negative) value is TRUE. So, (-1) evaluated as TRUE

!(- 1) of-course evaluated as FALSE
1

New to Communities?

Join the community