M4 Flashcards
is a group of elements which are of
different type
structure
. Each of the elements is identified by its
own identifier and they are called
member
can be thought of as an object without any
member functions.
structure
can hold values just like any other
variable can
structure variable
is a collection of smaller values called
X
structure value
member values
X keyword defines a structure type followed by an
identifier (name of the structure).
struct
can be passed to a function in similar
way as normal argument
structure variable
These members are normal C++ variables. We can create a structure with variables of different data types in C++.
data members
These members are normal C++ functions. Along with variables, we can also include functions inside a structure declaration.
member functions