Im checking sum of these anwsers in the challengs in my c++ complier and getting different anwsers
C++ relies heavily on your compiling architecture so things may vary. Especially datatype sizes and such.
You may not understand math execution priorities. Math operators are executed in mathematical order!