Largest array size in c programming openACC

Is there a size limit for an array in c programming using openACC. My code gives same values on CPU and GPU when array size is less than or equal to 2^31 but gives different results on GPU when array size is greater. I am already using unsigned long long int to store the integers required to define the arrays.