Thread: please explain this to me

  1. #1
    Registered User
    Join Date
    Apr 2013
    Posts
    26

    please explain this to me

    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?

    Its often the simple things we wonder about..

  2. #2
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    That's not a question, and even it it was it doesn't make sense anyway!
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  3. #3
    Stoned Witch Barney McGrew's Avatar
    Join Date
    Oct 2012
    Location
    astaylea
    Posts
    420
    a function that is passed an array
    You can't pass arrays in C.

    pointers to the maximum of the n floats
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Someone explain this to me
    By bigmac(rexdale) in forum C Programming
    Replies: 5
    Last Post: 10-12-2008, 03:29 PM
  2. Can anyone explain this?
    By monaco87 in forum C Programming
    Replies: 2
    Last Post: 10-30-2007, 07:15 AM
  3. Help, please explain to me more
    By farewellbahrain in forum C++ Programming
    Replies: 4
    Last Post: 10-26-2005, 04:49 PM
  4. Could someone explain why this happens
    By GSLR in forum C Programming
    Replies: 3
    Last Post: 05-13-2003, 09:27 AM
  5. Please explain...
    By robid1 in forum C Programming
    Replies: 4
    Last Post: 03-19-2003, 05:49 PM