Is it possible to convert a single dimensional array into a two dimensional array?
i first tought that will be very easy, just set the pointer of the 2D array to the
Yes, if you can use an array of pointers:
int foo[] = {1,2,3,4,5,6}; int *bla[2]={foo, foo+3};