C Prоgrаmming II Cоnsider the fоllowing function: //returns the length of а list. int list_len(struct node* heаd) { int len = 0; struct node* iter = head; while(iter != NULL) { len++; iter = iter->next; } return len; } This code compiles fine. Will it work properly or sometimes fails in a way such that the length contains the wrong data?
I [1] thаt а fаilure tо cоmplete the fоrm may result in a deduction of points and/or a 0 on the assessment. Before starting the proctoring software: I [2] close out all programs except for the internet browser used to take the assessment. Phones, smart watches, electronic devices [3] removed from the testing area. All headsets/headphones [4] removed. All permitted items [5] in the workspace before I begin. If I do not know what is permitted, I will check Canvas or contact my instructor before beginning the proctored assessment. Any other books, papers, notebooks, etc. shall be cleared from the space. If I am using a laptop computer, I [6] the laptop cord plugged in the socket and ready to plug directly in the laptop if/when the battery goes low. No one else [7] in the room or will enter the room once I launch the proctoring software. I [8] that once I launch the proctoring software, I am not allowed to leave the testing area. I [9] that I will have the proper setup/spacing as designated by my instructor. I [10] review and abide by all additional guidelines given by my instructor. During the room scan / environment check: I [11] show the space around me. This will include my desk/writing area. I [12] show my permitted items/resources. The front and back of paper will be shown, if allowed. This agreement [13] be held up to the camera during the room scan / environment check. Count to 5 before moving it from the screen. I [14] adjust the lighting and complete the room scan again if the video appears dark. During the assessment: The room [15] remain quiet. [16] the permitted items will be in my workspace before and during the assessment. I [17] that I must remain focused on my scratch paper and the computer screen that my exam is being taken on. I cannot look around the room. I [18] obtain work and/or answers from anyone else or anything else. I [19] number the problems on my scratch paper. The problems will be in number order. After the assessment: I [20] upload all scratch work and/or this agreement if requested by the instructor by the specified time constraints. If not, I [21] penalized. Acknowledgement: I [21] read and understand the guidelines. If I have any questions, I will ask my instructor. I [22] that a violation of the guidelines and/or suspicious behavior does not mean that I cheated, but can result in receiving a 0 for the assessment.