The Gateway to Computer Science Excellence
0 votes
683 views

Consider the following left associative operators in decreasing order of precedence :

- subtraction (highest precedence)

* multiplication

$ exponentiation (lowest precedence)

What is the result of the following expression ?

3 – 2 * 4 $ | * 2** 3

  1. $-61$
  2. $64$ 
  3. $512$ 
  4. $4096$
in Programming by Boss (30.8k points)
recategorized by | 683 views

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,322 answers
198,393 comments
105,142 users