The expression 5 – 2 – 3 * – 3 will evaluate to –18, if:

1
‘-’ is left associative and ‘*’ has precedence over ‘-’
2
‘-’ is right associative and ‘*’ has precedence over ‘-’
3
‘-’ is right associative and ‘-’ has precedence over ‘*’
4
‘-’ is left associative and ‘-’ has precedence over ‘*’

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation