well i have exam after 2 days.i dont want anyone to do my homework.please just explain the question and give some hints.thnks
Write a function that is passed an array of n pointers to the maximum of the n floats?
Printable View
well i have exam after 2 days.i dont want anyone to do my homework.please just explain the question and give some hints.thnks
Write a function that is passed an array of n pointers to the maximum of the n floats?
That's not a question, and even it it was it doesn't make sense anyway!
You can't pass arrays in C.Quote:
a function that is passed an array
You can have a pointer to float. You can have a pointer to float that happens to point into an array of floats. You can also have a pointer to an array of floats. That vague description could refer to either of those three.Quote:
pointers to the maximum of the n floats