Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c programming QUESTION 4 [20 MARKS] You are a programmer in a team developing a software which is to accepts up to 1000 student records
c programming
QUESTION 4 [20 MARKS] You are a programmer in a team developing a software which is to accepts up to 1000 student records which comprises of the student name, student id, CGPA and best student indicator. The main function which is being developed by your team mate will collect those data in 3 separate arrays for each parameter. These data should be sent to your function in the most memory officient method. Your function is to calculate the average CPGA to be returned and identify the highest score for CGPA to be directly written into the array passed by the main function (a) Identify the data types for each parameter [4 Marks) (b) Indicate whether this request is a pass by parameter or pass by reference. [2 marks] (c) Develop the completo C code for the function definition function call and the function declaration 114 Marks 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