Which of the following % operation is invalid?
A. 2 % 4;
B. 2 % 4l;
C. 2 % 4f;
D. Both 2 % 4l; and 2 % 4f;
Answer: Option C
Related Questions on Operators and Expressions
What does the ++ operator do in C when applied to a variable?
A. Decrements by 1
B. Adds 1
C. Doubles the value
D. Leaves it unchanged
Join The Discussion