int i=10;
char tt[i];
E:\MyProjects\111.cpp(21) : error C2057: expected constant expression
E:\MyProjects\111.cpp(21) : error C2466: cannot allocate an array of constant size 0
E:\MyProjects\111.cpp(21) : error C2133: 'tt' : unknown size
const int i=10;
char tt[i];
OK!!!