Article From:

Excuse me, return num = = n; what does it mean?

Answer 0:

Num is equal to N, equal to true, not equal to false.

Answer 1:

The bool value of the expression num = = n is calculated first, and then the bool value is returned. This is actually not essentially different from return 3-2

Answer 2:

returnThey are last executed, so your sentence is equivalent to that.

var flag = num == n;
return flag;

Answer 3:

First = = the result of execution is a boolean type, either true (1) or false (0).
So the problem is converted to:
flag =(num==n)
return flag

Link of this Article: On the problem of return ();

Leave a Reply

Your email address will not be published. Required fields are marked *