Jump to content


Check out our Community Blogs

SuminLee

Member Since 07 May 2015
Offline Last Active May 08 2015 08:26 PM
-----

Posts I've Made

In Topic: C/C++: Adding two big numbers

07 May 2015 - 11:21 PM

How about inputing 101 , 99

real result is 200 , but above revised code shows result 0200



So Instead of above two lines code, I will insert below codes.

if (carry!=0){
   sum[k]=carry;
   k=k+1;

}


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download