younis abdeljawwad

younis abdeljawwad

  • NA
  • 73
  • 96.4k

c++ function

Apr 19 2013 4:29 AM

write a C++ function called myfunction that takes three parameters as  shown in the following prototype:-

void myfunction(int a[],int size,int n);

where the first parameter is an integer array and the second parameter is the size of the array and the third parameter means that your function will sort the first n elements of the array in ascending order and the rest of the elements in descending order. 


Answers (1)