Vidyalelo
C Programming · all questions

Operators and Expressions
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

85

Questions

1/5

Page

Pick an option on a question to see the right answer and solution.

What is the result of the expression 5 + 7 * 2 in C?

Select an option to see the answer and solution.

Which operator is used for logical OR in C?

Select an option to see the answer and solution.

What does the ++ operator do in C when applied to a variable?

Select an option to see the answer and solution.

Which operator is used for modulus division in C?

Select an option to see the answer and solution.

What is the result of the expression 8 / 3 in C?

Select an option to see the answer and solution.

What is the order of precedence of the arithmetic operators in C?

Select an option to see the answer and solution.

What is the result of the expression 10 - 5 * 2 in C?

Select an option to see the answer and solution.

Which operator is used for equality comparison in C?

Select an option to see the answer and solution.

What does the sizeof operator return in C?

Select an option to see the answer and solution.

What is the result of the expression (6 - 2) * (1 + 2) in C?

Select an option to see the answer and solution.

Which operator is used to access the value stored at a pointer address in C?

Select an option to see the answer and solution.

What is the result of the expression 7 / 2 in C?

Select an option to see the answer and solution.

What is the result of the expression 5 % 3 in C?

Select an option to see the answer and solution.

Which operator is used for logical NOT in C?

Select an option to see the answer and solution.

What is the result of the expression 10 / 0 in C?

Select an option to see the answer and solution.

Which operator is used for assignment in C?

Select an option to see the answer and solution.

What is the result of the expression 3 * (4 + 2) in C?

Select an option to see the answer and solution.

Which operator is used to perform a bitwise AND operation in C?

Select an option to see the answer and solution.

What is the result of the expression 5 / 2 in C?

Select an option to see the answer and solution.

What is the order of precedence of the logical operators in C?

Select an option to see the answer and solution.