Table of Content

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


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