Computer Sciences > GATE 2024 SET-1 > Operator Precedence
Consider the operator precedence and associativity rules for the integer arithmetic operators given in the table below.
The value of the expression 3 + 1 + 5 * 2 / 7 + 2 - 4 - 7 - 6 / 2 as per the above rules is

Correct : -7

Similar Questions

A palindrome is a word that reads the same forwards and backwards. In a game of words, a player has the following two plates painted with letters. From...
#1 MCQ
Which number does not belong in the series below? 2, 5, 10, 17, 26, 37, 50, 64
#4 MCQ
Choose the word that is opposite in meaning to the word “coherent”.
#5 MCQ

Related Topics

operator precedence arithmetic GATE computer science 2024 expression evaluation precedence integer arithmetic operators associativity rules gate cs 2024 set 1 operator precedence exam questions evaluate expressions

Unique Visitor Count

Total Unique Visitors

Loading......