Points to
Remember:
Structure
is a user-defined which has the combination of data items with different data types
Structure
is declared using the keyword ‘struct’
Structure
elements are referenced using its object name followed by dot(.) operator and
then the member name
A
structure without a name/tag is called anonymous structure.
The
structure elements can be initialized either by using separate assignment
statements or at the time of declaration by surrounding its values with braces.
A
structure object can also be assigned to another structure object only if both
the objects are of same structure type.
The
structure declared within another structure is called a nested structure
A
structure can contain array as its member element.
Array
of structure variable can also be created.
Structures
can be passed to a function either by call by value method or by call by
reference method .Functions can also return structures or its references
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2024 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.