Home / MCQ Bank / Computer
Computer Trees In Data Structures Difficulty: Medium

Assume +, -, * are usual arithmetic operators. * has the lowest precedence, + has the highest precedence and the precedence of - is medium. + and * are left-associative whereas - is right-associative. What is the value of the expression 3 - 8 + 2 - 9 * 3?

Select the correct option to test your answer:

More Computer Questions

Which of the following can you format using buttons on the formatting toolbar? Under what case of Master's theorem will the recurrence relation of stooge sort fall? What will be the output of the following Java code? class A { int x; int y; void display() { System.out.print(x + " " + y); } } class Output { public static void main(String args[]) { A obj1 = new A(); A obj2 = new A(); obj1.x = 1; obj1.y = 2; obj2 = obj1.clone(); obj1.display(); obj2.display(); } } Which of the following is not a standard exception class in C++? What is x in the following MySQL statement? DELETE FROM x USING x LEFT JOIN y ON x.col = y.col;