• Courses
  • Tutorials
  • DSA
  • Data Science
  • Web Tech
August 18, 2022 |3.9K Views

C Program to Store Information of Students Using Structure

Description
Discussion

In this video, we will write a C Program to to store information of Students using structure.

What is struct?

Struct in C programming can be used to store data of multiple data types into a single variable. 

In this video, we have defined a struct student containing attributes like name, roll number, age, marks. Then, we add few student information in the student_data struct.

Then we used a for-loop to access each index of the student_data struct and print each attribute of the struct.

C Program to Store Information of Students Using Structure
https://www.geeksforgeeks.org/c-program-to-store-information-of-students-using-structure/