How can I declare an array (containing 5 element) of structures that contain two fields – name and score. Then initialize the array, print one structure per line after initialization, and pass the array to another function to find and print the highest score and the corresponding name.
The function takes as arguments a pointer to the structure and the size of the array
The function takes as arguments a pointer to the structure and the size of the array