Job Chua
2011-03-11 04:21:09 UTC
My question is, what if i use strings?
Correct me if im wrong, but strings in C are initialized like this "char sample[10]".
Meaning a string of 10 characters right?
On the other hand, the format for initializing 2 dimensional arrays on c looks like this
"int x [2][3]={{......},{......}}"
if i use the string together with the 2 dimensional array, how would the initialization look like?
like this? "char sample[10][2][3]={{...},{...}}"
But if i type it like that, it would turn into a three dimensional array right? help please :(