Structers

This is a discussion on Structers within the C Programming forums, part of the General Programming Boards category; Figured it out.... sorry!!...

  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    20

    Structers

    Figured it out.... sorry!!
    Last edited by rhouli67; 03-16-2009 at 09:31 PM.

  2. #2
    Banned
    Join Date
    Mar 2009
    Posts
    5
    Arrays are used to store large set of data and manipulate them but the disadvantage is that all the elements stored in an array are to be of the same data type. If we need to use a collection of different data type items it is not possible using an array. When we require using a collection of different data items of different data types we can use a structure. Structure is a method of packing data of different types. A structure is a convenient method of handling a group of related data items of different data types.
    Code:
    structure definition:
    general format:
    struct tag_name
    {
    data type member1;
    data type member2;
    …
    …
    }
    __________________
    Earn money through Internet
    Sales Management Training
    Perth Information
    Last edited by gmrnetworks; 03-17-2009 at 08:51 AM.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21