Expressions - General Questions :: Discussion


2.Which of the following correctly shows the hierarchy of arithmetic operations in C?
A./ + * -
B.* - / +
C.+ - / *
D./ * + -
Answer:  Option  D
Explanation:

Simply called as BODMAS (Bracket of Division, Multiplication, Addition and Subtraction).

How Do I Remember ? BODMAS !

B - Brackets first

O - Orders (ie Powers and Square Roots, etc.)

DM - Division and Multiplication (left-to-right)

AS - Addition and Subtraction (left-to-right)

 

Tutorial Link:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers