i want a little help to make my code more efficient cause i work on an embedded system and i exceeded my rom capacity.
I have an int.
a=3 for ex.
I want for each a to call one array.
so for this example i want to call number3
I did it with cases,
case(0): call number0
case(1): call number1
but i think that there could be a way to avoid cases and do it with one command.
Can you help me?