MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In C programming language, which of the following type of operators have the highest precedence?
A
Relational operators
B
Equality operators
C
Logical operators
D
Arithmetic operators
Explanation: 

Detailed explanation-1: -The primary operators have the highest precedence. The comma operator has the lowest precedence. Operators in the same group have the same precedence.

Detailed explanation-2: -The primary operators have the highest precedence. The comma operator has the lowest precedence.

Detailed explanation-3: -Which of the following operators has the highest precedence? Explanation: Unary operators have max precedence in over all other arithmetic operators.

Detailed explanation-4: -The exponential operator has the highest priority. Operators + and-can also be used as unary operators, meaning that they only need one operand.

There is 1 question to complete.