Add binary numbers and output binary numbers (no. of digits> 10^4)
IMPLEMENTED WITH HELP OF LOOK AHEAD CARRY ADDER Input: a = "11", b = "1" Output: "100" Input: a = "1010", b = "1011" Output: "10101" string addBinary ( string a , string b ) { int carry = 0 , sum = 0 , i , j , x , y ; string s = "" ; i = a . size () - 1 ; j = b . size () - 1 ; while ( i >= 0 && j >= 0 ) { sum = (( a [ i ] - '0' ) ^ ( b [ j ] - '0' )) ^ ( carry ); s = ( char )( sum + '0' ) + s ; x ...