Is there any way to access only a specific part of an array in c? For example, in python it is possible for me to access a specific part of an array.
array[10] = 1,2,3,4,5,6,7,8,9,10
array[4:8] = 5,6,7,8
I wanted to know if there is something similar in c, I need to pass a specific part of an array to a function. My array is a string array. So:
char** string = = malloc(1000 * sizeof(char *));
I wanted to move the array from position 0 to position 500 to a function.