How To Convert Map Into Array In C