Typescript String Null To String Function In C