Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a data structure that contains the following information for a QMUL student: Student's last name (up to a maximum of 20 characters long) Student's
Create a data structure that contains the following information for a QMUL student:
Student's last name (up to a maximum of 20 characters long)
Student's ID number
Student's age
Rename the struct so it is called the student type. Then, create a function print_data that takes a student and prints all the information.
Add the code above to a C program. In the main() function, create a student variable and initialise it with your personal QMUL data, which should then be printed using the print_data function you wrote.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started