Table of Content

Variable [MCQ] : Find Output of Program (Multiple Choice Questions)


Question 1
Which of the following operator has lowest precedence amongst all the operators ?
A
Logical AND
B
Modulus
C
Comma
D
Plus
Question 2
Which of the following correctly shows the hierarchy of arithmetic operations in C?
A
+ - / *
B
* - / +
C
/ + * -
D
/ * + -
Question 3
Unary Operators are Operators having ____________.
A
Lowest Precedence
B
Highest Precedence
Question 4
sizeof is an example of ____________.
A
Unary Operator
B
Binary Operator
C
Ternary Operator
D
None of these
Question 5
Associativity of unary operator is from _________ to __________.
A
Right to Left
B
Left to Right
There are 5 questions to complete.