Important Notes for Declaring Structure Variable

  1. Closing brace of structure type declaration must be followed by semicolon.
  2. Don't forgot to use 'struct' keyword
  3. Memory will not be allocated just by Creating instance or by declaring structure
  4. Generally Structures are written in Global Declaration Section , But they can be written inside main.
  5. It is not necessary to initialize all members of structure.
  6. For Larger program , Structures may be embedded in separate header file.

Bookmark & Share


Tags / Keywords : | ,

0 comments

Post a Comment

Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email