++(++x)++ here postfix prioritize over prefix , a=x++ here assignment prioritize over postfix, though postfix has higher priority than both

++(++x)++
++((++x)++)
a=x++;
(a=x)++;

why evaluation differences are there as postfix operator has higher
priority than both prefix and assignment operator ?

I feel both can’t be true at a same time but they are, so please explain why ?

Source: Windows Questions C++

LEAVE A COMMENT