h****r 发帖数: 2056 | 1 Assume,
long a = 32767;
long b = 4;
long c = 5;
we know the upper limit of long is 32768,
Linux can not recognize the following expression:
cout << a*b+c;
it will pass the compile, but can not output the correct
result.
How to represent the a*b+c correctly here?
Thanks. |
|