Convert Hex Ip Address To Dotted Decimal In C