'?' : invalid left operand, expected arithmetic or pointer type
An expression on the left hand side of ? cannot be compared to zero. You must use an arithmetic or pointer expression that can be compared to zero.
?