Question: Need help understanding code. Specifically, each part in the written cmp method. In the parameters, what is const void*p? In the method, what is int

Need help understanding code. Specifically, each part in the written "cmp" method. In the parameters, what is "const void*p"? In the method, what is "int *p1" and "*q1" pointing to? What does "p1=(int*)p " and "q1=(int*)q" do? What is being returned when it says "*p1>*q1"?
#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
