please helping!!!!!

Could anyone solve this question please? This is my exam question.I have to pass this exam.Please help me!!!

Write a function named float* max(float a[], int n) that is passed a float array of size n and returns a pointer to the maximum of the n floats. Use this program in a suitable main program.
You've got it wrong. Exams are to verify that you have learned the topic. If you cannot write a function on your own, then you lack knowledge and skill that you should have aqcuired during the course.

You have shown 0 effort. Why should we do any more?

If you had tried, then we could explain what (if any) went wrong.
Registered users can post here. Sign in or register to post.
  • 1007451581 2018-02-22
  • 8908121580 2018-02-22
  • 141161579 2018-02-22
  • 9421578 2018-02-22
  • 2826901577 2018-02-22
  • 3647361576 2018-02-22
  • 5717551575 2018-02-22
  • 523811574 2018-02-22
  • 6439871573 2018-02-22
  • 8109431572 2018-02-22
  • 8757321571 2018-02-22
  • 5265111570 2018-02-22
  • 3351351569 2018-02-22
  • 5109361568 2018-02-22
  • 4455391567 2018-02-22
  • 9091121566 2018-02-22
  • 24791565 2018-02-22
  • 2486841564 2018-02-21
  • 9847231563 2018-02-21
  • 9264681562 2018-02-21