The above program will not compile and shows "error c2057: expected constant expression." However, variables s clearly is a constant expression. If I change the "s" to "a" in "int c[s]" the program runs fine. This makes absolutely no sense- both variables are of the same type and are both constant, but the program will compile with one and not the other. The software environment is MVS 2005, but I've tried others with the same results. Can anyone tell me why? Thanks, Jeff KurtzCode:#include <iostream> using namespace std; void create(const int); int main() { const int s=26; create(s); } void create(const int s) { const int a=26; int c[s]; }