Closed yashsoni501 closed 4 years ago
Describe the bug When a largeInt object is initialized with a string of negative integer, then it prints double - sign when printed with cout.
To Reproduce Steps to reproduce the behavior: largeInt d("-234"); cout<<d<<endl;
largeInt d("-234");
cout<<d<<endl;
Expected behavior Output should be -234 but the output is --234
Describe the bug When a largeInt object is initialized with a string of negative integer, then it prints double - sign when printed with cout.
To Reproduce Steps to reproduce the behavior:
largeInt d("-234");
cout<<d<<endl;
Expected behavior Output should be -234 but the output is --234