Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

What is the result of 1+2*7%2-5/2 ? Can you explain how C++ handle this kinda math?

OpenStudy (anonymous):

http://en.cppreference.com/w/cpp/language/operator_precedence see the operator precedence to solve that

OpenStudy (anonymous):

So, it will be ( * / % + − ) 1+14%2-2 1+0-2 1

OpenStudy (anonymous):

hmm good job

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!