Question: Write a C program Write an update function to allow a user to update a student mark. This function should take in two parameters (it

Write a C program

Write a C program Write an update function to allow a user

Write an update function to allow a user to update a student mark. This function should take in two parameters (it can take in more parameters, but must take in at least these two): ID - a studentld val - the new mark for that student This function will iterate through the studld array searching for an element which matches ID. If a match is found, then the corresponding position in the marks array will be set to val and the position where the match was found will be returned. If ID is not found, -1 is returned. Write an update function to allow a user to update a student mark. This function should take in two parameters (it can take in more parameters, but must take in at least these two): ID - a studentld val - the new mark for that student This function will iterate through the studld array searching for an element which matches ID. If a match is found, then the corresponding position in the marks array will be set to val and the position where the match was found will be returned. If ID is not found, -1 is returned

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!