C Language MCQ’S : Operators and Expressions Set 1

1.
Integer division in a ‘C’ program results in:

A. Truncation
B. Rounding
C. Underflow
D. None of these

2.
In a ‘C’expression involving || operator, evaluation

A. Will be stopped if one of its components evaluates to false
B. Will be stopped if one of its components evaluates to true
C. Takes place from right to left
D. None of these

3.
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

4.
In C programming language, which of the following operators has the highest precedence?

A. Unary +
B. *
C. >=
D. = =

 

5.
If i j,k are integer variable with values 1,2,3 respectively, then what is the value of the expression

!((j + k) > (i + 5))

A. 6
B. 5
C. 1
D. 0

 

Visitor Counter

0051022