Z
zouyongbin
The code segment like below will fail at compilation:
int t = 5;
const int ix = t;
char cx[ix] = "hell";
while that like below is correct:
int t = 5;
const int ix = 5;
char cx[iy] = "hell";
Can anybody give me a explanation about what is really happening here?
Thanks.
int t = 5;
const int ix = t;
char cx[ix] = "hell";
while that like below is correct:
int t = 5;
const int ix = 5;
char cx[iy] = "hell";
Can anybody give me a explanation about what is really happening here?
Thanks.