C Programming – Day 9 | Structures in C Explained for Beginners
STRUCTURES IN C
DAY - 9
✅ Let’s move to Day-9 — Structures in C 🚀
📍 Day-9 — Structures in C
Today we will learn:
✅ What is a structure?
✅ Declaring & defining structures
✅ Accessing structure members
✅ Array of structures
✅ Nested structures (basic)
✅ Task + Quiz
✅ 1️⃣ What is a Structure?
📌 A structure is a user-defined data type that can store multiple variables of different types together.
Example:
✅ 2️⃣ Declare & Access Structure Variables
✅ 3️⃣ Array of Structures
✅ 4️⃣ Nested Structures (Basic)
Access:
✅ Task-9
Write a program:
✔ Input name, age, marks for 3 students
✔ Store them using array of structures
✔ Print details of all students
Example Output:
📌 Hint: Use loop to input & print
📝 Quick Quiz — Day-9
Reply like: 1B, 2A, 3C
1️⃣ Structure can store:
A) Single type of data
B) Multiple types of data
C) Only integers
2️⃣ Member of structure is accessed using:
A) . (dot)
B) -> (arrow)
C) &
3️⃣ Array of structures → used for:
A) Single student
B) Single value
C) Multiple records
📌 Reminder:
Send your Task-9 Code and Day-9 Quiz Answers when ready!
Then we will proceed to Day-10: File Handling in C 💪

No comments
Thank You For Visit My Website.
I Will Contact As Soon As Possible.