維克斯討論區
幫我翻譯一下~感激
1. When using an array, it is perfectly legal to access indexed variables with index values less than 0 or greater than or equal to the declared size of the array.
2. Arrays in C++ may have several different types stored in them.
3. In the definition, double d[10] = {0.0}; only d[0] is initialized to zero, the rest are uninitialized, just like x in the definition double x;
4. C++ arrays check for out-of-range index values.
5. A for-loop is a convenient way to step through an array.
6. The C-string library functions use the null terminator to decide when to stop processing.
7. You can assign a standard string to a C-string variable.
8. You can get a pointer value to initialize a pointer variable from an object of an appropriate type with the “address-of” operator, &.
9. When declaring several pointer variables, there must be one pointer declarator * for each pointer variable.
10. An array name is a constant pointer to array base type.
|