I have the following array of pointers:

Code:
const char *arr1[] = {"Test 1","Test 2",};
const char *arr2[] = {"Test 3","Test 4","Test 5",};
There can be arr1, arr2.........arrN. Then I have an integer R that is incremented in the for loop. Based on the R number I want to call
a function my_funct(arr.R). So if R = 1 I would call my_funct(arr1) if R = 2 then my_funct(arr2) and so on. The problem is that there can be any number of the arrN pointers and my program would take a lot of space putting If statements for each R. I would like to create a string with the R number and then convert it to the pointer array before calling my_func() so that I would get my_funct(arr.R) where arr.R would be pointer array and not a string. Can anybody help me.
Luke