Which of the following operators below have the highest priority when evaulating?

Options
- ()
- []
- *
- ->


CORRECT ANSWER : ()

Discussion Board
Explanation with example-

Highest priority while evaluating an expression is: “()”

e.g: 7*6+2*(15-9)
7*6+2*6
42+12
54

Sapna 02-17-2017 05:53 AM

ccc

no coment

amarjeet 12-11-2015 07:20 AM

Highest Priority

Answer : ()

In 'C' programming language "()" has the highest priority whereas "." has the lowest priority.

Jayesh Sonar 02-24-2015 04:00 AM

C operators priority

Priority (highest to lowest) of some C operators:
1. ( )
2. [ ]
3. .
4. ->
5. ++ --

Aparna 07-5-2013 05:06 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement