How to allocate array using malloc

0

I want to allocate arrays that can store 109 variables , how do I do it ?
Here's how I'm doing ,think it's not working
int arr;
arr= (long long )malloc(100000*sizeof(long long))
Anyone , any opinions/suggestions on this ?