Use MergeSort
Reputation System is meant for both good and bad rep. If you are expecting good rep you should be able to expect bad rep also.
Just pass your choice 1 or 2 to the function and take decisions based on it using plain old if. I hope it will solve your problem. If not, then...
Show your efforts first.
Do you have any prior experience of programmng language? because what you are tryig to achieve is not a simple stuff. It requires indepth...
Why don't you have a reputation system on this site?
What kind of help you require?
First of all int i; is not a function its a defination(as well as decleration).Whenever compiler comes across such statement, it...
Sample code to make things more clear:- #include<stdio.h> #define JOIN(a, b) a ## b int main() { printf("%s",JOIN("Hi","Everyone"));...
Just to add few more things >new operator computes the size of object automatically whereas malloc cannot. >It is possible to initialize the...
Separate names with a comma.