Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
'identifier' : array bounds overflow
Remarks
An array has too many initializers:
Array elements and initializers do not match in size and quantity.
No space for the null terminator in a string.
Example
The following example generates C2117:
// C2117.cpp
int main() {
char abc[4] = "abcd"; // C2117
char def[4] = "abd"; // OK
}