Question: C language Write a program that declares a structure student with the following data members; Name (String) RollNo (Integer) CGPA (Float) Create an array s1

C language

Write a program that declares a structure student with the following data members;

Name (String)

RollNo(Integer)

CGPA(Float)

  1. Create an array s1 of 5 elements in main function of type structure student.
  2. Initialize all the structures stored within array.
  3. Print all array contents.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!