Answers for "if(-1) true or false"

1

if(-1) true or false

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

!(- 1) of-course evaluated as FALSE
Posted by: Guest on September-10-2020

Browse Popular Code Answers by Language