Vidyalelo
Python · Q19

Python Operator Precedence: MCQs for Exam Prep

Programming · Python · question 19

Q19

What is the result of 4 * 3 % 5 ?

A.
2
Answer
B.
1
C.
3
D.
0

Answer: Option A

Solution

Answer: Option A
Solution:
Multiplication and modulo have the same precedence and are evaluated left to right.