What is the correct sequence of the following operators in ‘C’ from highest to lowest precedence order?

(a) ==

(b) %=

(c) %

(d) <=

The correct sequence is:

This question was previously asked in
UGC NET Paper 2: Electronic Science July 2018 Official Paper
View all UGC NET Papers >
  1. (c), (b), (a), (d)
  2. (c), (a), (d), (b)
  3. (c), (d), (a), (b)
  4. (a), (b), (d), (c)

Answer (Detailed Solution Below)

Option 3 : (c), (d), (a), (b)
Free
UGC NET Paper 1: Held on 21st August 2024 Shift 1
10.9 K Users
50 Questions 100 Marks 60 Mins

Detailed Solution

Download Solution PDF

Table for precedence and associativity

Precedence

Operator

Description

Associativity

Sequence

1(Highest)

%

remainder

left to right

 c

2

< =

less than equal to

left to right

 d

3

= =

Equal to

left to right

 a

4 (lowest)

% =

Assign remainder

right to left

 b

 

The correct sequence is  c, d, a, b

Latest UGC NET Updates

Last updated on Jun 12, 2025

-> The UGC NET June 2025 exam will be conducted from 25th to 29th June 2025.

-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.

-> The exam is conducted bi-annually - in June and December cycles.

-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions. 

-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.

Get Free Access Now
Hot Links: teen patti casino apk yono teen patti teen patti baaz teen patti gold download apk