aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Masters of Computer Application (C++)
  • The following expression evaluates to the value _____. 0 ...
Multiple choice

The following expression evaluates to the value _____. 0 + 1 * 3 - 1 * 5

  1. 10

  2. -10

  3. -2

  4. 2

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Following operator precedence: 1*3=3, 1*5=5. Then: 0+3-5 = -2. Multiplication has higher precedence than addition and subtraction.

Keep practicing — related questions

  • What is the value of the expression '1 2 3 + * 3 2 1 - + *'?
  • Evaluate the following expressions: (1/5)-1
  • What is the value of the expression (1 / 2 + 3 / 2 + 0.1)?
  • Which of the following are ‘active’ agents for soil formation? 1. Climate 2. Time 3. Parent material 4. Bio...
  • Which of the following statements is/are incorrect? 1. In floatation process, ZnO and SO3 are formed from s...
  • Which of the following is/are the ore(s) of titanium? 1. Ilmenite 2. Hausmannite 3. Linnaeite
  • Which of the following statements is/are false? 1. Packing efficiency of bcc lattice structure is 68%. 2. H...
  • Which of the following are correct? 1. The oil field of Digboi is small in size. 2. Digboi reserves have la...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy