Pattern: Unclear statement
Issue: -
A statement like *A++;
might not do what you intended. Postfix operator++
is executed before operator*
. Thus, the dereference is meaningless. Did you intend to write (*A)++;
?
Pattern: Unclear statement
Issue: -
A statement like *A++;
might not do what you intended. Postfix operator++
is executed before operator*
. Thus, the dereference is meaningless. Did you intend to write (*A)++;
?