How To Convert List Into Integer Array In C