Suppose I wish to have a function that fills an array either in pattern
x,y,x,y,x,ywhere x and y are variables defined by some algorithm
and x,y,z,x,y,z where x, y and z are variables defined by the same algorithm.
This should continue for all number of variables. Is this a viable way to implement it.
int recurse_n(int n)
{
while(n > 0)
…