Header Ads Widget

Top Billboard Ads

Unit VII: Structure and Unions | BCA 2nd Semester C Programming Notes Pdf

In a real-world application, we need to group different types of logically related data. For example: If we want to create a record of students that consists of name, roll no, and marks. Then to store such records we use structure. The structure is a collection of heterogeneous data types which are grouped together under a single name. A structure can contain any valid data types like int, char, float, or even arrays and other structures. Each variable in structure is called structure member. To define a structure, we use the 'struct' keyword.

Structure and Unions – C Programming

In this “Structure and Unions – C Programming” you will learn about the following topics:

  1. Definition of Structure
  2. Structure Initialization
  3. Processing Structure and Accessing Member of Structure
  4. Tag Name
  5. Array of Structure
  6. Structure Within Another Structure/Nested Structure
  7. Pointer to Structure
  8. Passing Structure Members to Function
  9. Passing Whole Structure to Function
  10. Passing Structure Pointer to Function
  11. Passing Array of Structure to Function
  12. Linked List
  13. Applications of Linked List in Computer Science
  14. Applications of Linked List in Real World
  15. Applications of Circular Linked Lists
  16. Introduction to Union
  17. Difference between Structure and Union



==== Point to Note ====

This article Structure and Unions – C Programming is contributed by Pawan Tiwari, a student of LA GRANDEE International College (LGIC).

If you like to contribute, you can mail us BCA Notes, BCA Question Collections, BCA Related Information, and Latest Technology Information at [email protected].

See your article appearing on BCA Notes (Pokhara University) main page with your designation and help other BCA Students to excel.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

BCA 2nd Semester C Programming Language Notes Pdf:

Post a Comment

0 Comments