Click here to Skip to main content
15,897,891 members

Comments by Member 13041326 (Top 1 by date)

Member 13041326 9-Apr-17 17:35pm View    
My question is

for the first call BigNumber n(1234)
I get 1234 which is correct
but for the second call
BigNumber m(4567)

I get

4567000000000000000000000000000000000000

Why are zeroes padded to only my second call and not the first call.
When I tried to use the debugger, for the
char digits[100];

I get the actual

digits = char [100] for the first call .
But for the second call, I get
digits = char [100] " "