how can i write a function that takes as arguments:
(1) a pointer to an array of floats and
(2) the array length N and reverses the order of the array elements.
If this is your Home Work or project or whatever no one is just going to give you code. After all show us what you did till now. Then people can help you.
If this is your Home Work or project or whatever no one is just going to give you code. After all show us what you did till now. Then people can help you.
If you have knowledge of the answer being sought, there is no rule that says you can't share your ideas. If you have no answer, there is no need to post; it's just spam.
It is interesting do you read sometimes what you are writing yourself? In your first post there is written enough clear that
how can i write a function that takes as arguments:
(1) a pointer to an array of floats and
(2) the array length N and reverses the order of the array elements.