Binary To Decimal Conversion In C