Hello, I'm a first year university student that has just started learning C language. Right now, I'm trying to learn the section on "Sorting" and found this program online, which generates ramdom student names and scores, and sort the scores out in increasing order. As indicated on the attached program (sort.c), I want to make the labled section as a separate function outside of the main function i.e. sort_mod.c <---not working
Could someone teach me how would I go about doing this? Thanx in advance!
Best regards, superman