Question: SUB-EXERCISE 1.2 Write a structure called student containing character array named name with values that may be as long as 50; character array named faculty

SUB-EXERCISE 1.2 Write a structure called student containing character array named name with values that may be as long as 50; character array named faculty with values that may be as long as 50; decimal point variable named gpa and integer student id variable. EXERCISE 2: struct initialization and accessing the struct using dot operator Based on the defined struct on Sub-Exercise 1.2, write a full program to store the given information using two struct variables named student1 and student2. Both structure variables must be declared inside main(). Then, display the stored information using dot operator. ID 55555 22222 Name Mohammad Susanne GPA 3.89 3.55 Faculty FCSHD FSTS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
