Hello I am working on a project. I am using MicroC pro for PIC microcontroller. I have created, say, 10 arrays-
const char V01 [15]= { some 15 values }
const char V02 [15]= { some 15 values }
.
.
.
const char V10[15]= { some 15 values }
Now I want to access values from V01 to V10. I tried to make another array "VX" of variables V01 to V10. But could not succeed. I am also confused between pointers, array of pointers, addresses, datatype of variable VX etc and how to put in the code.
I also tried-
value = VX [n];
if (some logic) VX = V01;
else if (some logic) VX = V02;
.
.
.
else VX = V10;
Note- 2-D array is not a solution for me.