Home > database >  If in the C (variable) what do you mean?
If in the C (variable) what do you mean?

Time:09-24

If (z), z=0;
Said this sentence what mean?

CodePudding user response:

In c + +, the integer variables is not equal to zero is true, equal to zero is false, so the if (z), z=0; This means that if z is not 0, let take a 0, z

CodePudding user response:

reference 1st floor JSDDJ response:
in c + +, the integer variables is not equal to zero is true, equal to zero is false, so the if (z), z=0; This means is that if not to 0, z is 0, z

Thank you for your reply, thank you
  • Related