For my algorithm I have to test it with large arrays. So, in my C code I have two global static arrays of length n.
#define length 10000000 static long long arr1