Convert Object Data Type To String Function In C