Which of these statements are incorrect?

Which of these statements are incorrect?
A. Equal to operator has least precedence
B. Brackets () have highest precedence
C. Division operator, /, has higher precedence than multiplication operator
D. Addition operator, +, and subtraction operator have equal precedence
 
Answer: c
Explanation: Division operator, /, has equal precedence as of multiplication operator. In expression involving multiplication and division evaluation of expression will begin from the right side when no brackets are used.
 

Tìm kiếm

Back
Top