Compiler Error C2040

Error Message

'operator' : 'identifier1' differs in levels of indirection from 'identifier2'

An expression involving the operators has inconsistent levels of indirection.

If both operands are arithmetic or both are nonarithmetic (such as array or pointer), they are used without change. If one operand is arithmetic and the other is not, the arithmetic operator is converted to the nonarithmetic type.

Community Additions