Question: Programming language is c programming. Pls avoid using cout and cin instead use printf and scanf. Your help is much appreciated. Question 1 (a) The

Programming language is c programming. Pls avoid using cout and cin instead use printf and scanf. Your help is much appreciated.
Question 1 (a) The structure register contains the date of registration for a student in a university. Write down the structure declaration of register. (4 Marks) (b) The structure of student contains information about a student. The information stored in the structure are the name, date of registration, year of study (1st year - 4th year) and the program of the student. Using the answer from Question 1(a), write down the declaration of the structure. (5 Marks) (c) Vicky has registered at Universiti Malaya during his 3rd year of study on 15 October 2021. Write a program to store this information in the structure and then display all information using printf!) by accessing the information in the structure. (8 Marks) (d) A pointer is declared as: struct student* student infoptr; student info.ptr = estudent info; Write down the code to store the information of Vicky in the structure using student info ptr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
