Expressions - General Questions :: Discussion


1.Which of the following is the correct order of evaluation for the below expression?
A.* / % + - =
B.= * / % + -
C./ * % - + =
D.* % / - + =
Answer:  Option  A
Explanation:

C uses left associativity for evaluating expressions to break a tie between two operators having same precedence.

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