Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Christos

  • 2 years ago

C++, Help needed! Say I have this line here: m = 10 * m + digit; Which operation goes first? Multiplication or addition?

  • This Question is Closed
  1. jeppe789
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I think it's the chronological order unless you've made some kind of priorities in your other code.

  2. Christos
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    what is the chronological order?

  3. Christos
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I havent made any priorities

  4. jeppe789
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    The order it is written in, if you write * first, that operation goes first. If you write + first, that operation goes first.

  5. hba
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Well its gonna * first.

  6. hba
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Search on google:HIPO i hope that will help :)

  7. Christos
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    thank you

  8. hba
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    welcome :)

  9. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy