Table of Content

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


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