Where in C does the order of precedence of operators not exist?
a) Within parentheses
b) Within a
for
loopc) Within a single expression
d) Within a
switch
statementAnswer:
a) Within parentheses
Explanation:
The order of precedence of operators does not apply within parentheses in C. Parentheses are used to explicitly define the order of operations in an expression, overriding the default precedence rules. This allows for more precise control over the evaluation of complex expressions, ensuring that operations are performed in the intended order.
Understanding the role of parentheses in controlling operator precedence is important for writing clear and correct expressions in C.