int i , arr[65536]; //unsigned?,long?
for(i=0;i<sizeof(arr);i++)
 arr[i] = rand()%65536;