edited by
1,868 views
0 votes
0 votes

The expression $5-2-3*5 – 2$ 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 $‘*‘$
edited by

2 Answers

Answer:

Related questions

2 votes
2 votes
2 answers
1
admin asked Mar 31, 2020
939 views
In binary search tree which traversal is used for getting ascending order values ?InorderPreorderPostorderNone of the options
2 votes
2 votes
2 answers
2
admin asked Mar 31, 2020
2,958 views
In a full binary tree number of nodes is $63$ then the height of the tree is :$2$$4$$3$$6$
2 votes
2 votes
1 answer
3
admin asked Mar 31, 2020
4,356 views
The address field of linked list : Contain address of next node May contain null characterContain address of next pointerBoth $\left (A \right)$ and $\left ( B \right)$
2 votes
2 votes
4 answers
4