C - Operators and Expressions
C - Operators and Expressions
3. The operator % yields
- quotient value
- remaindervalue
- percentage value
- fractional part of the division
4. The operator / when applied to floatingvalues yields
- remainder value
- negative value of the remainder
- quotient including fractional part
- integer quotient value only.
5. The operator % can be applied only to
- float values
- double values
- options a and b
- integral values
7. The operator / can be applied to
- integral values
- float values
- double values
- all the above
8. The second operand of the operator % must always be
- negative value
- non-zero
- zero
- positive value
9. If both the operands of the operator / are integers, the result is
- a float value
- an integer value
- option a or b
- undefined
10. Integer dividion results in
- rounding of thefractional part of the quotient
- truncating the fractional part of the quotient
- floating value
- syntax error