### Data Members

Data members include members that are declared with any of the fundamental types, as well as other types, including pointer, reference, array types, and user-defined types. You can declare a data member the same way as a variable, except that explicit initializers are not allowed inside the class definition.

If an array is declared as a nonstatic class member, you must specify all of the dimensions of the array.

Reference

Type Specifiers
Class Member Lists
Class-Type Class Members
Static Members
Member Access
Pointer
Array