wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which operator has highest priority?

A
()
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
[]
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
.
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A ()

() operator has highest priority.

Operatorassociativity specifies whether, in an expression that contains multiple operators with the same precedence, an operand is grouped with the one on its left or the one on its right. Associativity is used when two operators of same precedence appear in an expression.

The associativity of an operator is a property that determines how operators of the same precedence are grouped in the absence of parentheses.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Introduction to Banking
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon