What are structures?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    What are structures?

    Structure is a heterogeneous collection of elements referenced by the same name. A structure is declared using the struct keyword. The following is an example that creates a structure to store an employee's information:

    struct emp { fixed int empID[15]; fixed char name[30]; fixed char addr[50]; fixed char dept[15]; fixed char desig[15]; }
    The preceding example defines a structure emp and the members of this structure specify the information of an employee.
  • Guest

    #2
    Structure is an arrangement and organization of interrelated elements in a material object or system, or the object or system so organized. A structure is a collection of variables under a single name. These variables can be of different types, and each has a name which is used to select it from the structure. A structure is a convenient way of grouping several pieces of related information together.

    Comment

    • Daljeet
      Senior Member
      • Dec 2014
      • 205

      #3
      The arrangement of and relations between the parts or elements of something complex.

      Comment

      • sangeetanegi
        Senior Member
        • Dec 2015
        • 140

        #4
        Structure is an arrangement and organization of interrelated elements in a material object or system. A structure is a group of elements to support a load with stability. Examples of structures are bridges, electricity pylons or dams.

        Comment

        • megri
          Administrator
          • Mar 2004
          • 804

          #5
          What are structures?

          All structures must be capable of withstanding the loads and forces for which they are designed.some structures are designed to be rigid or some are designed to be flexible.
          Parveen K - Forum Administrator
          SEO India - TalkingCity Forum Rules - Webmaster Forum
          Please Do Not Spam Our Forum

          Comment

          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎