Structure is the user defined data type which can store heterogeneous data i.e. data of different types. It means in structure member with all possible data type can be used and there is no restriction that elements of the structure are stored at adjacent memory locations. Structure is declared with key word struct followed by its name and then by block.
Showing posts with label structures. Show all posts
Showing posts with label structures. Show all posts
January 30, 2013
Structures in C++ (OOPs)
Structure is the user defined data type which can store heterogeneous data i.e. data of different types. It means in structure member with all possible data type can be used and there is no restriction that elements of the structure are stored at adjacent memory locations. Structure is declared with key word struct followed by its name and then by block.
January 29, 2013
Structure of C++ (OOPs) Program
Labels:
C,
C++,
coding,
compiler,
computer,
difference,
format,
identifiers,
language,
OOPs,
practical,
program,
programming,
section,
structures,
syntax,
theoretical
January 23, 2013
Union in C-language
Union is that data structure which is also user defined data type but to define a union keyword union is used instead of struct.
Structure in C-language
Structure is the user defined data type which can store heterogeneous data i.e. data of different types. It means in structure member with all possible data type can be used and there is no restriction that elements of the structure are stored at adjacent memory locations. Structure is declared with key word struct followed by its name and then by block.
Subscribe to:
Comments (Atom)