Compiler Error C2369
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Compiler Error C2369.
array' : redefinition; different subscripts
The array is already declared with a different subscript.
The following sample generates C2369:
// C2369.cpp // compile with: /c int a[10]; int a[20]; // C2369 int b[20]; // OK
Show: