Precision in c++ for company project

  c++, precision

In my company project whenever I am multiplying 2 numbers the answer become so bigamount
Eg 2×2=40000000000000
17×2=3400000000000
Can’t tell you the data types because of privacy policy
And both numbers and answer variable have different data types

Is it because of datatypes ?

Source: Windows Questions C++

LEAVE A COMMENT