arithmetic in c++

mcqspedia.com has 2 Question/Answers about Topic arithmetic in c++

Attempting to use modulus operator, with non-integer operands causes

Attempting to use modulus operator, with non-integer operands causes
  • A. Logical error
  • B. Syntax error
  • C. Run-time error
  • D. None of them
  • Correct Answer: Option B

Which from following operators have a higher precedence?

Which from following operators have a higher precedence?
  • A. +, −
  • B. *, /
  • C. (, )
  • D. All of them are equal
  • Correct Answer: Option C