Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started