In my Data Structures text book there is mergesort program.
In that the function prototype is mergesort( int *,int,int) whereas the function header is
mergesort(int a, int lb, int ub) , please explain int * in the prototype it should actually be int a !!
Dear Vijayasurya, Actually int * and int is the same thing. int is the pointer to the first array element, where int* is the pointer to variable. So basically they're the same (as array element is actually a variable). Hope that helps.
Once you reach college or university, the level of writing that is expected from you should be quite high. They…
APPROVED BY CLIENTS
Great place. Affordable saved me multiple times through difficult times. I had a tough break up and couldn't complete my Comp Sci and Machine Learning. I'm an A+ student. I got sick and suicidal fell into depression. Had it done for me. A + in the class. The workers here floated me through 5 hard weeks of class when I just about dropped out.