O
ottawajn
Dear there,
I want to do the follows.
(1)initial an array, say myarray[]={1 2 3.1 4};
(2)insert zeros in myarray, like {1,0,2,0,3.1,0,4,0};
(3)let myarray[]={1,0,2,0,3.1,0,4,0}; (I have not idea how to figure it
out)
Therefore, the size of array myarray is variable.
Could anyone please help me to figure out the 3rd step?
Thank you,
Cajn
I want to do the follows.
(1)initial an array, say myarray[]={1 2 3.1 4};
(2)insert zeros in myarray, like {1,0,2,0,3.1,0,4,0};
(3)let myarray[]={1,0,2,0,3.1,0,4,0}; (I have not idea how to figure it
out)
Therefore, the size of array myarray is variable.
Could anyone please help me to figure out the 3rd step?
Thank you,
Cajn