reopen or read and say why not reopened [closed]
- by gcc
input
23 3 4 4 42 n 23 0 9 9 n n n 3 9 9 x
//according to input,i should create int pointer arrays. pointer arrays
// starting from 1 (that is initial arrays is arrays[1].when program sees n ,it
// must be jumb to arrays 2
// the first int input 23 is num_arrays which used in malloc(sizeof(int)*num_arrays
expected output:
elements of arrays[1] 3 4 5 42
elements of arrays[2] 23 0 9 9
elements of arrays[5] 3 9 9
another input
12 2 3 4 n n 2 3 4 n 12 3 x
expected output
elements of arrays[1] 2 3 4
elements of arrays[3] 2 3 4
elements of arrays[4] 12 3
specification:
x is stopper
n is comman to create new pointer array
i am new in this site
anyone help me how can i write