Structures, Nested Structures, Pointer to structures C++, array is a collection of elements of same datatype, so to store elements of different data types we need structure. Structure is a collection of elements of different data types. The data elements of structure are referred to as members.
Here is a very much self explanatory code for structures
using namespace std;
Continue reading “Structures, Nested Structures, Pointer to structures C++” »