Write a method SortTheEvens(), that first shifts all the even numbers of an input array to the left side in that array and then sorts all even numbers in that array.Note: You are not allowed to use direct indexing and can only use ptr++ and ptr-- operators. i.e. *(ptr + i) and ptr[i] are not allowed.Do using c++ programming language.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here