Compare vs Assign — image 1 of 1

Pee Wee Herman
details

This calls func(), assigns the returned result to value, then does the thing if the result was non-zero. This is actually normal and valid C syntax, and at most it’s optional but recommended to have double parenthesis (as above) as if to tell others, “I meant to do that.”

Back

Search