C++ Tutorial - 22 - Structures

In this C++ tutorial, you will learn about Structure, declaring a Structure, how to declare Structure Variable and how to access the structure members in C++.

Structure is a collection of variables under a single name. Variables can be of any type: int, float, char etc. The main difference between structure and array is that arrays are collections of the same data type and structure is a collection of variables under a single name.

0 comments:

Post a Comment